| OLD | NEW |
| 1 ; This file tests support for the select instruction with vector valued inputs. | 1 ; This file tests support for the select instruction with vector valued inputs. |
| 2 | 2 |
| 3 ; RUN: %p2i -i %s --assemble --disassemble --args -O2 --verbose none \ | 3 ; RUN: %p2i -i %s --filetype=obj --disassemble --args -O2 \ |
| 4 ; RUN: | FileCheck %s | 4 ; RUN: | FileCheck %s |
| 5 ; RUN: %p2i -i %s --assemble --disassemble --args -Om1 --verbose none \ | 5 ; RUN: %p2i -i %s --filetype=obj --disassemble --args -Om1 \ |
| 6 ; RUN: | FileCheck %s | 6 ; RUN: | FileCheck %s |
| 7 ; RUN: %p2i -i %s --assemble --disassemble --args -O2 -mattr=sse4.1 \ | 7 ; RUN: %p2i -i %s --filetype=obj --disassemble --args -O2 -mattr=sse4.1 \ |
| 8 ; RUN: --verbose none | FileCheck --check-prefix=SSE41 %s | 8 ; RUN: | FileCheck --check-prefix=SSE41 %s |
| 9 ; RUN: %p2i -i %s --assemble --disassemble --args -Om1 -mattr=sse4.1 \ | 9 ; RUN: %p2i -i %s --filetype=obj --disassemble --args -Om1 -mattr=sse4.1 \ |
| 10 ; RUN: --verbose none | FileCheck --check-prefix=SSE41 %s | 10 ; RUN: | FileCheck --check-prefix=SSE41 %s |
| 11 | 11 |
| 12 define <16 x i8> @test_select_v16i8(<16 x i1> %cond, <16 x i8> %arg1, <16 x i8>
%arg2) { | 12 define <16 x i8> @test_select_v16i8(<16 x i1> %cond, <16 x i8> %arg1, <16 x i8>
%arg2) { |
| 13 entry: | 13 entry: |
| 14 %res = select <16 x i1> %cond, <16 x i8> %arg1, <16 x i8> %arg2 | 14 %res = select <16 x i1> %cond, <16 x i8> %arg1, <16 x i8> %arg2 |
| 15 ret <16 x i8> %res | 15 ret <16 x i8> %res |
| 16 ; CHECK-LABEL: test_select_v16i8 | 16 ; CHECK-LABEL: test_select_v16i8 |
| 17 ; CHECK: pand | 17 ; CHECK: pand |
| 18 ; CHECK: pandn | 18 ; CHECK: pandn |
| 19 ; CHECK: por | 19 ; CHECK: por |
| 20 | 20 |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 ret <4 x i1> %res | 95 ret <4 x i1> %res |
| 96 ; CHECK-LABEL: test_select_v4i1 | 96 ; CHECK-LABEL: test_select_v4i1 |
| 97 ; CHECK: pand | 97 ; CHECK: pand |
| 98 ; CHECK: pandn | 98 ; CHECK: pandn |
| 99 ; CHECK: por | 99 ; CHECK: por |
| 100 | 100 |
| 101 ; SSE41-LABEL: test_select_v4i1 | 101 ; SSE41-LABEL: test_select_v4i1 |
| 102 ; SSE41: pslld xmm0,0x1f | 102 ; SSE41: pslld xmm0,0x1f |
| 103 ; SSE41: blendvps xmm{{[0-7]}},{{xmm[0-7]|XMMWORD}} | 103 ; SSE41: blendvps xmm{{[0-7]}},{{xmm[0-7]|XMMWORD}} |
| 104 } | 104 } |
| OLD | NEW |