mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
Move v-binop-widen tests to X86 since they don't work on all platforms
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106562 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d8800e7972
commit
23a8fc6e48
@ -1,4 +1,7 @@
|
||||
; RUN: llc -march=x86 < %s
|
||||
; RUN: llc -march=x86 < %s | FileCheck %s
|
||||
; CHECK: divss
|
||||
; CHECK: divps
|
||||
; CHECK: divps
|
||||
|
||||
%vec = type <9 x float>
|
||||
define %vec @vecdiv( %vec %p1, %vec %p2)
|
||||
@ -6,3 +9,4 @@ define %vec @vecdiv( %vec %p1, %vec %p2)
|
||||
%result = fdiv %vec %p1, %p2
|
||||
ret %vec %result
|
||||
}
|
||||
|
@ -1,7 +1,9 @@
|
||||
; RUN: llvm-as < %s | lli
|
||||
; RUN: llc -march=x86 < %s | FileCheck %s
|
||||
|
||||
%vec = type <6 x float>
|
||||
|
||||
; CHECK: divss
|
||||
; CHECK: divss
|
||||
; CHECK: divps
|
||||
define %vec @vecdiv( %vec %p1, %vec %p2)
|
||||
{
|
||||
%result = fdiv %vec %p1, %p2
|
||||
@ -13,6 +15,7 @@ define %vec @vecdiv( %vec %p1, %vec %p2)
|
||||
|
||||
; Expected result: < 1.0, 2.0, 4.0, ..., 2.0^(n-1) >
|
||||
; main() returns 0 if the result is expected and 1 otherwise
|
||||
; to execute, use llvm-as < %s | lli
|
||||
define i32 @main() nounwind {
|
||||
entry:
|
||||
%avec = load %vec* @a
|
Loading…
Reference in New Issue
Block a user