| OLD | NEW |
| 1 ; Simple test of signed and unsigned integer conversions. | 1 ; Simple test of signed and unsigned integer conversions. |
| 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 -i %s --args -O2 \ | 4 ; RUN: --target x8632 -i %s --args -O2 \ |
| 5 ; RUN: | %if --need=target_X8632 --command FileCheck %s | 5 ; RUN: | %if --need=target_X8632 --command FileCheck %s |
| 6 | 6 |
| 7 ; RUN: %if --need=target_X8632 --command %p2i --filetype=obj --disassemble \ | 7 ; RUN: %if --need=target_X8632 --command %p2i --filetype=obj --disassemble \ |
| 8 ; RUN: --target x8632 -i %s --args -Om1 \ | 8 ; RUN: --target x8632 -i %s --args -Om1 \ |
| 9 ; RUN: | %if --need=target_X8632 --command FileCheck %s | 9 ; RUN: | %if --need=target_X8632 --command FileCheck %s |
| 10 | 10 |
| 11 ; TODO(jvoung): Stop skipping unimplemented parts (via --skip-unimplemented) | 11 ; TODO(jvoung): Stop skipping unimplemented parts (via --skip-unimplemented) |
| 12 ; once enough infrastructure is in. Also, switch to --filetype=obj | 12 ; once enough infrastructure is in. Also, switch to --filetype=obj |
| 13 ; when possible. | 13 ; when possible. |
| 14 ; RUN: %if --need=target_ARM32 --command %p2i --filetype=asm --assemble \ | 14 ; RUN: %if --need=target_ARM32 --need=allow_dump \ |
| 15 ; RUN: --command %p2i --filetype=asm --assemble \ |
| 15 ; RUN: --disassemble --target arm32 -i %s --args -O2 --skip-unimplemented \ | 16 ; RUN: --disassemble --target arm32 -i %s --args -O2 --skip-unimplemented \ |
| 16 ; RUN: | %if --need=target_ARM32 --command FileCheck --check-prefix ARM32 %s | 17 ; RUN: | %if --need=target_ARM32 --need=allow_dump \ |
| 18 ; RUN: --command FileCheck --check-prefix ARM32 %s |
| 17 | 19 |
| 18 ; RUN: %if --need=target_ARM32 --command %p2i --filetype=asm --assemble \ | 20 ; RUN: %if --need=target_ARM32 --need=allow_dump \ |
| 21 ; RUN: --command %p2i --filetype=asm --assemble \ |
| 19 ; RUN: --disassemble --target arm32 -i %s --args -Om1 --skip-unimplemented \ | 22 ; RUN: --disassemble --target arm32 -i %s --args -Om1 --skip-unimplemented \ |
| 20 ; RUN: | %if --need=target_ARM32 --command FileCheck --check-prefix ARM32 %s | 23 ; RUN: | %if --need=target_ARM32 --need=allow_dump \ |
| 24 ; RUN: --command FileCheck --check-prefix ARM32 %s |
| 21 | 25 |
| 22 @i8v = internal global [1 x i8] zeroinitializer, align 1 | 26 @i8v = internal global [1 x i8] zeroinitializer, align 1 |
| 23 @i16v = internal global [2 x i8] zeroinitializer, align 2 | 27 @i16v = internal global [2 x i8] zeroinitializer, align 2 |
| 24 @i32v = internal global [4 x i8] zeroinitializer, align 4 | 28 @i32v = internal global [4 x i8] zeroinitializer, align 4 |
| 25 @i64v = internal global [8 x i8] zeroinitializer, align 8 | 29 @i64v = internal global [8 x i8] zeroinitializer, align 8 |
| 26 @u8v = internal global [1 x i8] zeroinitializer, align 1 | 30 @u8v = internal global [1 x i8] zeroinitializer, align 1 |
| 27 @u16v = internal global [2 x i8] zeroinitializer, align 2 | 31 @u16v = internal global [2 x i8] zeroinitializer, align 2 |
| 28 @u32v = internal global [4 x i8] zeroinitializer, align 4 | 32 @u32v = internal global [4 x i8] zeroinitializer, align 4 |
| 29 @u64v = internal global [8 x i8] zeroinitializer, align 8 | 33 @u64v = internal global [8 x i8] zeroinitializer, align 8 |
| 30 | 34 |
| (...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 302 | 306 |
| 303 ; ARM32-LABEL: from_uint64 | 307 ; ARM32-LABEL: from_uint64 |
| 304 ; ARM32: movw {{.*}}u64v | 308 ; ARM32: movw {{.*}}u64v |
| 305 ; ARM32: ldr r | 309 ; ARM32: ldr r |
| 306 ; ARM32: movw {{.*}}i8v | 310 ; ARM32: movw {{.*}}i8v |
| 307 ; ARM32: strb | 311 ; ARM32: strb |
| 308 ; ARM32: movw {{.*}}i16v | 312 ; ARM32: movw {{.*}}i16v |
| 309 ; ARM32: strh | 313 ; ARM32: strh |
| 310 ; ARM32: movw {{.*}}i32v | 314 ; ARM32: movw {{.*}}i32v |
| 311 ; ARM32: str r | 315 ; ARM32: str r |
| OLD | NEW |