mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
This is also a 32-bit only test. x86-64 would pass fp parameters through XMM registers.
llvm-svn: 29964
This commit is contained in:
parent
00436b4bcb
commit
3b2d02f5cc
@ -2,6 +2,9 @@
|
|||||||
; RUN: llvm-as < %s | llc -march=x86 -mattr=-sse2,-sse3 | grep 'fabs$' | wc -l | grep 1 &&
|
; RUN: llvm-as < %s | llc -march=x86 -mattr=-sse2,-sse3 | grep 'fabs$' | wc -l | grep 1 &&
|
||||||
; RUN: llvm-as < %s | llc -march=x86 -mattr=-sse2,-sse3 -enable-unsafe-fp-math | grep 'fabs$' | wc -l | grep 2
|
; RUN: llvm-as < %s | llc -march=x86 -mattr=-sse2,-sse3 -enable-unsafe-fp-math | grep 'fabs$' | wc -l | grep 2
|
||||||
|
|
||||||
|
target endian = little
|
||||||
|
target pointersize = 32
|
||||||
|
|
||||||
declare float %fabsf(float)
|
declare float %fabsf(float)
|
||||||
|
|
||||||
float %fabsftest(float %X) {
|
float %fabsftest(float %X) {
|
||||||
|
Loading…
Reference in New Issue
Block a user