Issue 171262
Summary Backend/Mips: may combine cvt.s.d/mfc1/mfc1
Labels new issue
Assignees
Reporter wzssyqa
    If we need to determine the sign bit of a double value on 32bit system, we may use

```
cvt.s.d $f2, $f12
mfc1 $1, $f2
slti $1, $1, 0
``` 

and in fact, we can combine them to
```
mfhc1 $1, $f2
slti $1, $1, 0
```
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to