OLD | NEW |
1 ; This tests the basic structure of the Unreachable instruction. | 1 ; This tests the basic structure of the Unreachable instruction. |
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 ; 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 -i %s --args -Om1 \ | 7 ; RUN: --target x8632 -i %s --args -Om1 \ |
8 ; RUN: | %if --need=target_X8632 --command FileCheck %s | 8 ; RUN: | %if --need=target_X8632 --command FileCheck %s |
9 | 9 |
10 ; RUN: %if --need=target_ARM32 --need=allow_dump \ | 10 ; RUN: %if --need=target_ARM32 --need=allow_dump \ |
(...skipping 21 matching lines...) Expand all Loading... |
32 } | 32 } |
33 | 33 |
34 ; CHECK-LABEL: divide | 34 ; CHECK-LABEL: divide |
35 ; CHECK: cmp | 35 ; CHECK: cmp |
36 ; CHECK: ud2 | 36 ; CHECK: ud2 |
37 ; CHECK: cdq | 37 ; CHECK: cdq |
38 ; CHECK: idiv | 38 ; CHECK: idiv |
39 ; CHECK: ret | 39 ; CHECK: ret |
40 | 40 |
41 ; ARM32-LABEL: divide | 41 ; ARM32-LABEL: divide |
42 ; ARM32: cmp | 42 ; ARM32: tst |
43 ; ARM32: .word 0xe7fedef0 | 43 ; ARM32: .word 0xe7fedef0 |
44 ; ARM32: bl {{.*}} __divsi3 | 44 ; ARM32: bl {{.*}} __divsi3 |
45 ; ARM32: bx lr | 45 ; ARM32: bx lr |
OLD | NEW |