| 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 --filetype=obj --disassemble --args -O2 \ | 3 ; RUN: %p2i -i %s --filetype=obj --disassemble --args -O2 \ |
| 4 ; RUN: | FileCheck %s | 4 ; RUN: | FileCheck %s |
| 5 ; RUN: %p2i -i %s --filetype=obj --disassemble --args -Om1 \ | 5 ; RUN: %p2i -i %s --filetype=obj --disassemble --args -Om1 \ |
| 6 ; RUN: | FileCheck %s | 6 ; RUN: | FileCheck %s |
| 7 ; RUN: %p2i -i %s --filetype=obj --disassemble --args -O2 -mattr=sse4.1 \ | 7 ; RUN: %p2i -i %s --filetype=obj --disassemble --args -O2 -mattr=sse4.1 \ |
| 8 ; RUN: | FileCheck --check-prefix=SSE41 %s | 8 ; RUN: | FileCheck --check-prefix=SSE41 %s |
| 9 ; RUN: %p2i -i %s --filetype=obj --disassemble --args -Om1 -mattr=sse4.1 \ | 9 ; RUN: %p2i -i %s --filetype=obj --disassemble --args -Om1 -mattr=sse4.1 \ |
| 10 ; RUN: | FileCheck --check-prefix=SSE41 %s | 10 ; RUN: | FileCheck --check-prefix=SSE41 %s |
| 11 | 11 |
| 12 ; RUN: %if --need=target_MIPS32 --need=allow_dump \ | 12 ; RUN: %if --need=target_MIPS32 --need=allow_dump \ |
| 13 ; RUN: --command %p2i --filetype=asm --assemble --disassemble --target mips32\ | 13 ; RUN: --command %p2i --filetype=asm --assemble --disassemble --target mips32\ |
| 14 ; RUN: -i %s --args -O2 --skip-unimplemented \ | 14 ; RUN: -i %s --args -O2 \ |
| 15 ; RUN: | %if --need=target_MIPS32 --need=allow_dump \ | 15 ; RUN: | %if --need=target_MIPS32 --need=allow_dump \ |
| 16 ; RUN: --command FileCheck --check-prefix MIPS32 %s | 16 ; RUN: --command FileCheck --check-prefix MIPS32 %s |
| 17 | 17 |
| 18 define internal <16 x i8> @test_select_v16i8(<16 x i1> %cond, <16 x i8> %arg1, | 18 define internal <16 x i8> @test_select_v16i8(<16 x i1> %cond, <16 x i8> %arg1, |
| 19 <16 x i8> %arg2) { | 19 <16 x i8> %arg2) { |
| 20 entry: | 20 entry: |
| 21 %res = select <16 x i1> %cond, <16 x i8> %arg1, <16 x i8> %arg2 | 21 %res = select <16 x i1> %cond, <16 x i8> %arg1, <16 x i8> %arg2 |
| 22 ret <16 x i8> %res | 22 ret <16 x i8> %res |
| 23 ; CHECK-LABEL: test_select_v16i8 | 23 ; CHECK-LABEL: test_select_v16i8 |
| 24 ; CHECK: pand | 24 ; CHECK: pand |
| (...skipping 789 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 814 ; MIPS32: movn [[T6]],[[T2]],[[T10]] | 814 ; MIPS32: movn [[T6]],[[T2]],[[T10]] |
| 815 ; MIPS32: andi [[T11:.*]],a3,0x1 | 815 ; MIPS32: andi [[T11:.*]],a3,0x1 |
| 816 ; MIPS32: andi [[T3]],[[T3]],0x1 | 816 ; MIPS32: andi [[T3]],[[T3]],0x1 |
| 817 ; MIPS32: andi [[T7]],[[T7]],0x1 | 817 ; MIPS32: andi [[T7]],[[T7]],0x1 |
| 818 ; MIPS32: movn [[T7]],[[T3]],[[T11]] | 818 ; MIPS32: movn [[T7]],[[T3]],[[T11]] |
| 819 ; MIPS32: move v0,[[T4]] | 819 ; MIPS32: move v0,[[T4]] |
| 820 ; MIPS32: move v1,[[T5]] | 820 ; MIPS32: move v1,[[T5]] |
| 821 ; MIPS32: move a0,[[T6]] | 821 ; MIPS32: move a0,[[T6]] |
| 822 ; MIPS32: move a1,[[T7]] | 822 ; MIPS32: move a1,[[T7]] |
| 823 } | 823 } |
| OLD | NEW |