OLD | NEW |
1 ; This is a smoke test of random number generator. | 1 ; This is a smoke test of random number generator. |
2 ; The random number generators for different randomization passes should be | 2 ; The random number generators for different randomization passes should be |
3 ; decoupled. The random number used in one randomization pass should not be | 3 ; decoupled. The random number used in one randomization pass should not be |
4 ; influenced by the existence of other randomization passes. | 4 ; influenced by the existence of other randomization passes. |
5 | 5 |
6 ; REQUIRES: allow_dump, target_X8632 | 6 ; REQUIRES: allow_dump, target_X8632 |
7 | 7 |
8 ; Command for checking constant blinding (Need to turn off nop-insertion) | 8 ; Command for checking constant blinding (Need to turn off nop-insertion) |
9 ; RUN: %p2i --target x8632 -i %s --filetype=obj --disassemble --args -O2 \ | 9 ; RUN: %p2i --target x8632 -i %s --filetype=obj --disassemble --args -O2 \ |
10 ; RUN: -sz-seed=1 -randomize-pool-immediates=randomize \ | 10 ; RUN: -sz-seed=1 -randomize-pool-immediates=randomize \ |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 ; Command for checking regalloc randomization | 58 ; Command for checking regalloc randomization |
59 ; RUN: %p2i --target x8632 -i %s --filetype=obj --disassemble --args -O2 \ | 59 ; RUN: %p2i --target x8632 -i %s --filetype=obj --disassemble --args -O2 \ |
60 ; RUN: -sz-seed=1 -randomize-pool-immediates=randomize \ | 60 ; RUN: -sz-seed=1 -randomize-pool-immediates=randomize \ |
61 ; RUN: -randomize-pool-threshold=0x1 \ | 61 ; RUN: -randomize-pool-threshold=0x1 \ |
62 ; RUN: -reorder-global-variables \ | 62 ; RUN: -reorder-global-variables \ |
63 ; RUN: -reorder-basic-blocks \ | 63 ; RUN: -reorder-basic-blocks \ |
64 ; RUN: -reorder-functions \ | 64 ; RUN: -reorder-functions \ |
65 ; RUN: -randomize-regalloc \ | 65 ; RUN: -randomize-regalloc \ |
66 ; RUN: -nop-insertion \ | 66 ; RUN: -nop-insertion \ |
67 ; RUN: -reorder-pooled-constants \ | 67 ; RUN: -reorder-pooled-constants \ |
| 68 ; RUN: -split-local-vars=0 \ |
68 ; RUN: | FileCheck %s --check-prefix=REGALLOC | 69 ; RUN: | FileCheck %s --check-prefix=REGALLOC |
69 | 70 |
70 ; Command for checking nop insertion (Need to turn off randomize-regalloc) | 71 ; Command for checking nop insertion (Need to turn off randomize-regalloc) |
71 ; RUN: %p2i --target x8632 -i %s --filetype=asm --args \ | 72 ; RUN: %p2i --target x8632 -i %s --filetype=asm --args \ |
72 ; RUN: -sz-seed=1 -randomize-pool-immediates=randomize \ | 73 ; RUN: -sz-seed=1 -randomize-pool-immediates=randomize \ |
73 ; RUN: -reorder-global-variables \ | 74 ; RUN: -reorder-global-variables \ |
74 ; RUN: -reorder-basic-blocks \ | 75 ; RUN: -reorder-basic-blocks \ |
75 ; RUN: -reorder-functions \ | 76 ; RUN: -reorder-functions \ |
76 ; RUN: -randomize-regalloc=0 \ | 77 ; RUN: -randomize-regalloc=0 \ |
77 ; RUN: -nop-insertion -nop-insertion-percentage=50\ | 78 ; RUN: -nop-insertion -nop-insertion-percentage=50\ |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
249 ; GLOBALVARS-LABEL: ArrayUninit | 250 ; GLOBALVARS-LABEL: ArrayUninit |
250 ; GLOBALVARS-LABEL: PrimitiveInitStatic | 251 ; GLOBALVARS-LABEL: PrimitiveInitStatic |
251 ; GLOBALVARS-LABEL: ArrayUninitConstDouble | 252 ; GLOBALVARS-LABEL: ArrayUninitConstDouble |
252 ; GLOBALVARS-LABEL: ArrayUninitConstInt | 253 ; GLOBALVARS-LABEL: ArrayUninitConstInt |
253 ; GLOBALVARS-LABEL: PrimitiveInitConst | 254 ; GLOBALVARS-LABEL: PrimitiveInitConst |
254 | 255 |
255 ; Check for pooled constant reordering | 256 ; Check for pooled constant reordering |
256 ; POOLEDCONSTANTS-LABEL: .rodata.cst4 | 257 ; POOLEDCONSTANTS-LABEL: .rodata.cst4 |
257 ; POOLEDCONSTANTS: 0000803e 0000803f 0000003f 00008040 | 258 ; POOLEDCONSTANTS: 0000803e 0000803f 0000003f 00008040 |
258 ; POOLEDCONSTANTS: 00000040 | 259 ; POOLEDCONSTANTS: 00000040 |
OLD | NEW |