| OLD | NEW |
| 1 ; This file tests casting / conversion operations that apply to vector types. | 1 ; This file tests casting / conversion operations that apply to vector types. |
| 2 ; bitcast operations are in vector-bitcast.ll. | 2 ; bitcast operations are in vector-bitcast.ll. |
| 3 | 3 |
| 4 ; RUN: %p2i -i %s --assemble --disassemble --args -O2 --verbose none \ | 4 ; RUN: %p2i -i %s --filetype=obj --disassemble --args -O2 | FileCheck %s |
| 5 ; RUN: | FileCheck %s | 5 ; RUN: %p2i -i %s --filetype=obj --disassemble --args -Om1 | FileCheck %s |
| 6 ; RUN: %p2i -i %s --assemble --disassemble --args -Om1 --verbose none \ | |
| 7 ; RUN: | FileCheck %s | |
| 8 | 6 |
| 9 ; sext operations | 7 ; sext operations |
| 10 | 8 |
| 11 define <16 x i8> @test_sext_v16i1_to_v16i8(<16 x i1> %arg) { | 9 define <16 x i8> @test_sext_v16i1_to_v16i8(<16 x i1> %arg) { |
| 12 entry: | 10 entry: |
| 13 %res = sext <16 x i1> %arg to <16 x i8> | 11 %res = sext <16 x i1> %arg to <16 x i8> |
| 14 ret <16 x i8> %res | 12 ret <16 x i8> %res |
| 15 | 13 |
| 16 ; CHECK-LABEL: test_sext_v16i1_to_v16i8 | 14 ; CHECK-LABEL: test_sext_v16i1_to_v16i8 |
| 17 ; CHECK: pxor | 15 ; CHECK: pxor |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 } | 148 } |
| 151 | 149 |
| 152 define <4 x float> @test_uitofp_v4i32_to_v4f32(<4 x i32> %arg) { | 150 define <4 x float> @test_uitofp_v4i32_to_v4f32(<4 x i32> %arg) { |
| 153 entry: | 151 entry: |
| 154 %res = uitofp <4 x i32> %arg to <4 x float> | 152 %res = uitofp <4 x i32> %arg to <4 x float> |
| 155 ret <4 x float> %res | 153 ret <4 x float> %res |
| 156 | 154 |
| 157 ; CHECK-LABEL: test_uitofp_v4i32_to_v4f32 | 155 ; CHECK-LABEL: test_uitofp_v4i32_to_v4f32 |
| 158 ; CHECK: call {{.*}} R_{{.*}} Sz_uitofp_v4i32 | 156 ; CHECK: call {{.*}} R_{{.*}} Sz_uitofp_v4i32 |
| 159 } | 157 } |
| OLD | NEW |