mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-22 13:29:44 +00:00
fixed to test features, not CPU models
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234413 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
dc45a1ef4f
commit
912be27c05
@ -1,6 +1,6 @@
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mcpu=core2 | FileCheck %s
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mcpu=btver2 | FileCheck %s --check-prefix=BTVER2
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+use-recip-est,+avx -x86-recip-refinement-steps=2 | FileCheck %s --check-prefix=REFINE
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=sse2 | FileCheck %s
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=avx,use-recip-est | FileCheck %s --check-prefix=RECIP
|
||||
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=avx,use-recip-est -x86-recip-refinement-steps=2 | FileCheck %s --check-prefix=REFINE
|
||||
|
||||
; If the target's divss/divps instructions are substantially
|
||||
; slower than rcpss/rcpps with a Newton-Raphson refinement,
|
||||
@ -20,13 +20,13 @@ define float @reciprocal_estimate(float %x) #0 {
|
||||
; CHECK-NEXT: movaps
|
||||
; CHECK-NEXT: retq
|
||||
|
||||
; BTVER2-LABEL: reciprocal_estimate:
|
||||
; BTVER2: vrcpss
|
||||
; BTVER2: vmulss
|
||||
; BTVER2: vsubss
|
||||
; BTVER2: vmulss
|
||||
; BTVER2: vaddss
|
||||
; BTVER2-NEXT: retq
|
||||
; RECIP-LABEL: reciprocal_estimate:
|
||||
; RECIP: vrcpss
|
||||
; RECIP: vmulss
|
||||
; RECIP: vsubss
|
||||
; RECIP: vmulss
|
||||
; RECIP: vaddss
|
||||
; RECIP-NEXT: retq
|
||||
|
||||
; REFINE-LABEL: reciprocal_estimate:
|
||||
; REFINE: vrcpss
|
||||
@ -51,13 +51,13 @@ define <4 x float> @reciprocal_estimate_v4f32(<4 x float> %x) #0 {
|
||||
; CHECK-NEXT: movaps
|
||||
; CHECK-NEXT: retq
|
||||
|
||||
; BTVER2-LABEL: reciprocal_estimate_v4f32:
|
||||
; BTVER2: vrcpps
|
||||
; BTVER2: vmulps
|
||||
; BTVER2: vsubps
|
||||
; BTVER2: vmulps
|
||||
; BTVER2: vaddps
|
||||
; BTVER2-NEXT: retq
|
||||
; RECIP-LABEL: reciprocal_estimate_v4f32:
|
||||
; RECIP: vrcpps
|
||||
; RECIP: vmulps
|
||||
; RECIP: vsubps
|
||||
; RECIP: vmulps
|
||||
; RECIP: vaddps
|
||||
; RECIP-NEXT: retq
|
||||
|
||||
; REFINE-LABEL: reciprocal_estimate_v4f32:
|
||||
; REFINE: vrcpps
|
||||
@ -85,13 +85,13 @@ define <8 x float> @reciprocal_estimate_v8f32(<8 x float> %x) #0 {
|
||||
; CHECK-NEXT: movaps
|
||||
; CHECK-NEXT: retq
|
||||
|
||||
; BTVER2-LABEL: reciprocal_estimate_v8f32:
|
||||
; BTVER2: vrcpps
|
||||
; BTVER2: vmulps
|
||||
; BTVER2: vsubps
|
||||
; BTVER2: vmulps
|
||||
; BTVER2: vaddps
|
||||
; BTVER2-NEXT: retq
|
||||
; RECIP-LABEL: reciprocal_estimate_v8f32:
|
||||
; RECIP: vrcpps
|
||||
; RECIP: vmulps
|
||||
; RECIP: vsubps
|
||||
; RECIP: vmulps
|
||||
; RECIP: vaddps
|
||||
; RECIP-NEXT: retq
|
||||
|
||||
; REFINE-LABEL: reciprocal_estimate_v8f32:
|
||||
; REFINE: vrcpps
|
||||
|
Loading…
x
Reference in New Issue
Block a user