mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-02 16:54:58 +00:00
New entry.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45280 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
56bf2f8288
commit
0b0102b172
@ -741,3 +741,18 @@ save, as a really-signed value would be undefined for pslld.
|
||||
|
||||
|
||||
//===---------------------------------------------------------------------===//
|
||||
|
||||
#include <math.h>
|
||||
int t1(double d) { return signbit(d); }
|
||||
|
||||
This currently compiles to:
|
||||
subl $12, %esp
|
||||
movsd 16(%esp), %xmm0
|
||||
movsd %xmm0, (%esp)
|
||||
movl 4(%esp), %eax
|
||||
shrl $31, %eax
|
||||
addl $12, %esp
|
||||
ret
|
||||
|
||||
We should use movmskp{s|d} instead.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user