mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-16 16:16:45 +00:00
These are fp stack test cases.
llvm-svn: 25698
This commit is contained in:
parent
b22e64b314
commit
5d4ce9a622
@ -1,5 +1,5 @@
|
||||
; Make sure this testcase codegens to the fabs instruction, not a call to fabsf
|
||||
; RUN: llvm-as < %s | llc -march=x86 | grep 'fabs$' | wc -l | grep 2
|
||||
; RUN: llvm-as < %s | llc -march=x86 -mattr=-sse2 | grep 'fabs$' | wc -l | grep 2
|
||||
|
||||
declare float %fabsf(float)
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llvm-as < %s | llc -march=x86 -x86-asm-syntax=att | grep fildll | wc -l | grep 2
|
||||
; RUN: llvm-as < %s | llc -march=x86 -x86-asm-syntax=att -mattr=-sse2 | grep fildll | wc -l | grep 2
|
||||
|
||||
fastcc double %sint64_to_fp(long %X) {
|
||||
%R = cast long %X to double
|
||||
|
@ -1,5 +1,5 @@
|
||||
;; Test that this FP immediate is stored in the constant pool as a float.
|
||||
|
||||
; RUN: llvm-as < %s | llc -march=x86 | grep '.long.1123418112'
|
||||
; RUN: llvm-as < %s | llc -march=x86 -mattr=-sse2 | grep '.long.1123418112'
|
||||
|
||||
double %D() { ret double 123.0 }
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llvm-as < %s | llc -march=x86 | grep fchs
|
||||
; RUN: llvm-as < %s | llc -march=x86 -mattr=-sse2 | grep fchs
|
||||
|
||||
|
||||
double %T() {
|
||||
|
Loading…
Reference in New Issue
Block a user