| OLD | NEW |
| 1 ; This tests the NaCl intrinsics memset, memcpy and memmove. | 1 ; This tests the NaCl intrinsics memset, memcpy and memmove. |
| 2 | 2 |
| 3 ; RUN: %if --need=target_X8632 --command %p2i --filetype=obj --disassemble \ | 3 ; RUN: %if --need=target_X8632 --command %p2i --filetype=obj --disassemble \ |
| 4 ; RUN: --target x8632 --sandbox -i %s --args -O2 \ | 4 ; RUN: --target x8632 --sandbox -i %s --args -O2 \ |
| 5 ; RUN: | %if --need=target_X8632 --command FileCheck %s | 5 ; RUN: | %if --need=target_X8632 --command FileCheck %s |
| 6 ; RUN: %if --need=target_X8632 --command %p2i --filetype=obj --disassemble \ | 6 ; RUN: %if --need=target_X8632 --command %p2i --filetype=obj --disassemble \ |
| 7 ; RUN: --target x8632 --sandbox -i %s --args -Om1 --fmem-intrin-opt \ | 7 ; RUN: --target x8632 --sandbox -i %s --args -Om1 --fmem-intrin-opt \ |
| 8 ; RUN: | %if --need=target_X8632 --command FileCheck %s | 8 ; RUN: | %if --need=target_X8632 --command FileCheck %s |
| 9 ; RUN: %if --need=target_X8632 --command %p2i --filetype=obj --disassemble \ | 9 ; RUN: %if --need=target_X8632 --command %p2i --filetype=obj --disassemble \ |
| 10 ; RUN: --target x8632 --sandbox -i %s --args -Om1 \ | 10 ; RUN: --target x8632 --sandbox -i %s --args -Om1 \ |
| 11 ; RUN: | %if --need=target_X8632 --command FileCheck --check-prefix OM1 %s | 11 ; RUN: | %if --need=target_X8632 --command FileCheck --check-prefix OM1 %s |
| 12 | 12 |
| 13 ; RUN: %if --need=target_ARM32 --need=allow_dump \ | 13 ; RUN: %if --need=target_ARM32 \ |
| 14 ; RUN: --command %p2i --filetype=asm --assemble --disassemble --target arm32 \ | 14 ; RUN: --command %p2i --filetype=obj --disassemble --target arm32 \ |
| 15 ; RUN: -i %s --args -O2 --skip-unimplemented \ | 15 ; RUN: -i %s --args -O2 \ |
| 16 ; RUN: | %if --need=target_ARM32 --need=allow_dump \ | 16 ; RUN: | %if --need=target_ARM32 \ |
| 17 ; RUN: --command FileCheck --check-prefix ARM32 %s | 17 ; RUN: --command FileCheck --check-prefix ARM32 %s |
| 18 | 18 |
| 19 ; RUN: %if --need=target_MIPS32 --need=allow_dump \ | 19 ; RUN: %if --need=target_MIPS32 --need=allow_dump \ |
| 20 ; RUN: --command %p2i --filetype=asm --assemble --disassemble --target mips32\ | 20 ; RUN: --command %p2i --filetype=asm --assemble --disassemble --target mips32\ |
| 21 ; RUN: -i %s --args -Om1 --skip-unimplemented \ | 21 ; RUN: -i %s --args -Om1 --skip-unimplemented \ |
| 22 ; RUN: | %if --need=target_MIPS32 --need=allow_dump \ | 22 ; RUN: | %if --need=target_MIPS32 --need=allow_dump \ |
| 23 ; RUN: --command FileCheck --check-prefix MIPS32 %s | 23 ; RUN: --command FileCheck --check-prefix MIPS32 %s |
| 24 | 24 |
| 25 declare void @llvm.memcpy.p0i8.p0i8.i32(i8*, i8*, i32, i32, i1) | 25 declare void @llvm.memcpy.p0i8.p0i8.i32(i8*, i8*, i32, i32, i1) |
| 26 declare void @llvm.memmove.p0i8.p0i8.i32(i8*, i8*, i32, i32, i1) | 26 declare void @llvm.memmove.p0i8.p0i8.i32(i8*, i8*, i32, i32, i1) |
| (...skipping 547 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 574 ; CHECK-NEXT: movups XMMWORD PTR [{{.*}}],[[ZERO]] | 574 ; CHECK-NEXT: movups XMMWORD PTR [{{.*}}],[[ZERO]] |
| 575 ; CHECK-NEXT: mov BYTE PTR [{{.*}}+0x20],0x0 | 575 ; CHECK-NEXT: mov BYTE PTR [{{.*}}+0x20],0x0 |
| 576 ; CHECK-NOT: mov | 576 ; CHECK-NOT: mov |
| 577 ; OM1-LABEL: test_memset_zero_const_len_large | 577 ; OM1-LABEL: test_memset_zero_const_len_large |
| 578 ; OM1: call {{.*}} R_{{.*}} memset | 578 ; OM1: call {{.*}} R_{{.*}} memset |
| 579 ; ARM32-LABEL: test_memset_zero_const_len_large | 579 ; ARM32-LABEL: test_memset_zero_const_len_large |
| 580 ; ARM32: uxtb | 580 ; ARM32: uxtb |
| 581 ; ARM32: bl {{.*}} memset | 581 ; ARM32: bl {{.*}} memset |
| 582 ; MIPS32-LABEL: test_memset_zero_const_len_large | 582 ; MIPS32-LABEL: test_memset_zero_const_len_large |
| 583 ; MIPS32: jal {{.*}} memset | 583 ; MIPS32: jal {{.*}} memset |
| OLD | NEW |