| Index: tests_lit/llvm2ice_tests/vector-align.ll
|
| diff --git a/tests_lit/llvm2ice_tests/vector-align.ll b/tests_lit/llvm2ice_tests/vector-align.ll
|
| index 71731406e131958e6199773ce05d1d4974d1e899..5e278377819ae258f48c2388f56a461940fdc884 100644
|
| --- a/tests_lit/llvm2ice_tests/vector-align.ll
|
| +++ b/tests_lit/llvm2ice_tests/vector-align.ll
|
| @@ -7,6 +7,12 @@
|
| ; RUN: %p2i -i %s --filetype=obj --disassemble --args -O2 | FileCheck %s
|
| ; RUN: %p2i -i %s --filetype=obj --disassemble --args -Om1 | FileCheck %s
|
|
|
| +; RUN: %if --need=target_MIPS32 --need=allow_dump \
|
| +; RUN: --command %p2i --filetype=asm --assemble --disassemble --target mips32\
|
| +; RUN: -i %s --args -O2 --skip-unimplemented \
|
| +; RUN: | %if --need=target_MIPS32 --need=allow_dump \
|
| +; RUN: --command FileCheck --check-prefix MIPS32 %s
|
| +
|
| define internal <4 x i32> @test_add(i32 %addr_i, <4 x i32> %addend) {
|
| entry:
|
| %addr = inttoptr i32 %addr_i to <4 x i32>*
|
| @@ -18,6 +24,12 @@ entry:
|
| ; CHECK-NOT: paddd xmm{{.}},XMMWORD PTR [e{{ax|cx|dx|di|si|bx|bp}}
|
| ; CHECK: paddd xmm{{.}},
|
|
|
| +; MIPS32-LABEL: test_add
|
| +; MIPS32: addu
|
| +; MIPS32: addu
|
| +; MIPS32: addu
|
| +; MIPS32: addu
|
| +
|
| define internal <4 x i32> @test_and(i32 %addr_i, <4 x i32> %addend) {
|
| entry:
|
| %addr = inttoptr i32 %addr_i to <4 x i32>*
|
| @@ -29,6 +41,12 @@ entry:
|
| ; CHECK-NOT: pand xmm{{.}},XMMWORD PTR [e{{ax|cx|dx|di|si|bx|bp}}
|
| ; CHECK: pand xmm{{.}},
|
|
|
| +; MIPS32-LABEL: test_and
|
| +; MIPS32: and
|
| +; MIPS32: and
|
| +; MIPS32: and
|
| +; MIPS32: and
|
| +
|
| define internal <4 x i32> @test_or(i32 %addr_i, <4 x i32> %addend) {
|
| entry:
|
| %addr = inttoptr i32 %addr_i to <4 x i32>*
|
| @@ -40,6 +58,12 @@ entry:
|
| ; CHECK-NOT: por xmm{{.}},XMMWORD PTR [e{{ax|cx|dx|di|si|bx|bp}}
|
| ; CHECK: por xmm{{.}},
|
|
|
| +; MIPS32-LABEL: test_or
|
| +; MIPS32: or
|
| +; MIPS32: or
|
| +; MIPS32: or
|
| +; MIPS32: or
|
| +
|
| define internal <4 x i32> @test_xor(i32 %addr_i, <4 x i32> %addend) {
|
| entry:
|
| %addr = inttoptr i32 %addr_i to <4 x i32>*
|
| @@ -51,6 +75,12 @@ entry:
|
| ; CHECK-NOT: pxor xmm{{.}},XMMWORD PTR [e{{ax|cx|dx|di|si|bx|bp}}
|
| ; CHECK: pxor xmm{{.}},
|
|
|
| +; MIPS32-LABEL: test_xor
|
| +; MIPS32: xor
|
| +; MIPS32: xor
|
| +; MIPS32: xor
|
| +; MIPS32: xor
|
| +
|
| define internal <4 x i32> @test_sub(i32 %addr_i, <4 x i32> %addend) {
|
| entry:
|
| %addr = inttoptr i32 %addr_i to <4 x i32>*
|
| @@ -62,6 +92,12 @@ entry:
|
| ; CHECK-NOT: psubd xmm{{.}},XMMWORD PTR [e{{ax|cx|dx|di|si|bx|bp}}
|
| ; CHECK: psubd xmm{{.}},
|
|
|
| +; MIPS32-LABEL: test_sub
|
| +; MIPS32: subu
|
| +; MIPS32: subu
|
| +; MIPS32: subu
|
| +; MIPS32: subu
|
| +
|
| define internal <4 x float> @test_fadd(i32 %addr_i, <4 x float> %addend) {
|
| entry:
|
| %addr = inttoptr i32 %addr_i to <4 x float>*
|
| @@ -73,6 +109,12 @@ entry:
|
| ; CHECK-NOT: addps xmm{{.}},XMMWORD PTR [e{{ax|cx|dx|di|si|bx|bp}}
|
| ; CHECK: addps xmm{{.}},
|
|
|
| +; MIPS32-LABEL: test_fadd
|
| +; MIPS32: add.s
|
| +; MIPS32: add.s
|
| +; MIPS32: add.s
|
| +; MIPS32: add.s
|
| +
|
| define internal <4 x float> @test_fsub(i32 %addr_i, <4 x float> %addend) {
|
| entry:
|
| %addr = inttoptr i32 %addr_i to <4 x float>*
|
| @@ -83,3 +125,9 @@ entry:
|
| ; CHECK-LABEL: test_fsub
|
| ; CHECK-NOT: subps xmm{{.}},XMMWORD PTR [e{{ax|cx|dx|di|si|bx|bp}}
|
| ; CHECK: subps xmm{{.}},
|
| +
|
| +; MIPS32-LABEL: test_fsub
|
| +; MIPS32: sub.s
|
| +; MIPS32: sub.s
|
| +; MIPS32: sub.s
|
| +; MIPS32: sub.s
|
|
|