Skip to content

Double double assignment in optimized Cmm on SPARC

Hello, while reading ffi003 asm/opt-cmm for fixing this on SPARC I've noticed this code, this is optimized Cmm dump:

    112       c1or:
    113           _s1nw::F64 = F64[_s1nv::P32 + 3];
    114           _c1oj::I32 = sin;
    115           _c1ok::F64 = _s1nw::F64;

this assignment to _s1nw::F64 looks useless as we may assign directly to _c1ok::F64, may we not? Both optimized and non-optimized Cmms attached.

Trac metadata
Trac field Value
Version 7.6.3
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information