mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-27 00:21:03 +00:00
Also requires -mattr=-sse3
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26778 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
; Make sure this testcase codegens to the fabs instruction, not a call to fabsf
|
; Make sure this testcase codegens to the fabs instruction, not a call to fabsf
|
||||||
; RUN: llvm-as < %s | llc -march=x86 -mattr=-sse2 | grep 'fabs$' | wc -l | grep 2
|
; RUN: llvm-as < %s | llc -march=x86 -mattr=-sse2,-sse3 | grep 'fabs$' | wc -l | grep 2
|
||||||
|
|
||||||
declare float %fabsf(float)
|
declare float %fabsf(float)
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
;; Test that this FP immediate is stored in the constant pool as a float.
|
;; Test that this FP immediate is stored in the constant pool as a float.
|
||||||
|
|
||||||
; RUN: llvm-as < %s | llc -march=x86 -mattr=-sse2 | grep '.long.1123418112'
|
; RUN: llvm-as < %s | llc -march=x86 -mattr=-sse2,-sse3 | grep '.long.1123418112'
|
||||||
|
|
||||||
double %D() { ret double 123.0 }
|
double %D() { ret double 123.0 }
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
; RUN: llvm-as < %s | llc -march=x86 -mattr=-sse2 | grep fchs
|
; RUN: llvm-as < %s | llc -march=x86 -mattr=-sse2,-sse3 | grep fchs
|
||||||
|
|
||||||
|
|
||||||
double %T() {
|
double %T() {
|
||||||
|
Reference in New Issue
Block a user