| OLD | NEW |
| 1 ; This test checks support for vector arithmetic. | 1 ; This test checks support for vector arithmetic. |
| 2 | 2 |
| 3 ; RUN: %p2i -i %s --assemble --disassemble -a -O2 --verbose none \ | 3 ; RUN: %p2i -i %s --filetype=obj --disassemble -a -O2 \ |
| 4 ; RUN: | FileCheck %s | 4 ; RUN: | FileCheck %s |
| 5 ; RUN: %p2i -i %s --assemble --disassemble -a -Om1 --verbose none \ | 5 ; RUN: %p2i -i %s --filetype=obj --disassemble -a -Om1 \ |
| 6 ; RUN: | FileCheck %s | 6 ; RUN: | FileCheck %s |
| 7 ; RUN: %p2i -i %s --assemble --disassemble -a -O2 -mattr=sse4.1 --verbose none \ | 7 ; RUN: %p2i -i %s --filetype=obj --disassemble -a -O2 -mattr=sse4.1 \ |
| 8 ; RUN: | FileCheck --check-prefix=SSE41 %s | 8 ; RUN: | FileCheck --check-prefix=SSE41 %s |
| 9 ; RUN: %p2i -i %s --assemble --disassemble -a -Om1 -mattr=sse4.1 \ | 9 ; RUN: %p2i -i %s --filetype=obj --disassemble -a -Om1 -mattr=sse4.1 \ |
| 10 ; RUN: --verbose none | FileCheck --check-prefix=SSE41 %s | 10 ; RUN: | FileCheck --check-prefix=SSE41 %s |
| 11 | 11 |
| 12 define <4 x float> @test_fadd(<4 x float> %arg0, <4 x float> %arg1) { | 12 define <4 x float> @test_fadd(<4 x float> %arg0, <4 x float> %arg1) { |
| 13 entry: | 13 entry: |
| 14 %res = fadd <4 x float> %arg0, %arg1 | 14 %res = fadd <4 x float> %arg0, %arg1 |
| 15 ret <4 x float> %res | 15 ret <4 x float> %res |
| 16 ; CHECK-LABEL: test_fadd | 16 ; CHECK-LABEL: test_fadd |
| 17 ; CHECK: addps | 17 ; CHECK: addps |
| 18 } | 18 } |
| 19 | 19 |
| 20 define <4 x float> @test_fsub(<4 x float> %arg0, <4 x float> %arg1) { | 20 define <4 x float> @test_fsub(<4 x float> %arg0, <4 x float> %arg1) { |
| (...skipping 532 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 553 define <4 x i32> @test_srem_v4i32(<4 x i32> %arg0, <4 x i32> %arg1) { | 553 define <4 x i32> @test_srem_v4i32(<4 x i32> %arg0, <4 x i32> %arg1) { |
| 554 entry: | 554 entry: |
| 555 %res = srem <4 x i32> %arg0, %arg1 | 555 %res = srem <4 x i32> %arg0, %arg1 |
| 556 ret <4 x i32> %res | 556 ret <4 x i32> %res |
| 557 ; CHECK-LABEL: test_srem_v4i32 | 557 ; CHECK-LABEL: test_srem_v4i32 |
| 558 ; CHECK: idiv | 558 ; CHECK: idiv |
| 559 ; CHECK: idiv | 559 ; CHECK: idiv |
| 560 ; CHECK: idiv | 560 ; CHECK: idiv |
| 561 ; CHECK: idiv | 561 ; CHECK: idiv |
| 562 } | 562 } |
| OLD | NEW |