Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(83)

Side by Side Diff: tests_lit/llvm2ice_tests/rng.ll

Issue 1678133003: Subzero: Fix trailing whitespace errors. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Rebase Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tests_lit/llvm2ice_tests/globalrelocs.ll ('k') | tests_lit/llvm2ice_tests/unknown-arm-reg.ll » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 \
11 ; RUN: -randomize-pool-threshold=0x1 \ 11 ; RUN: -randomize-pool-threshold=0x1 \
12 ; RUN:» -reorder-global-variables \ 12 ; RUN: -reorder-global-variables \
13 ; RUN: -reorder-basic-blocks \ 13 ; RUN: -reorder-basic-blocks \
14 ; RUN: -reorder-functions \ 14 ; RUN: -reorder-functions \
15 ; RUN: -randomize-regalloc \ 15 ; RUN: -randomize-regalloc \
16 ; RUN: -nop-insertion=0 \ 16 ; RUN: -nop-insertion=0 \
17 ; RUN: -reorder-pooled-constants \ 17 ; RUN: -reorder-pooled-constants \
18 ; RUN: | FileCheck %s --check-prefix=BLINDINGO2 18 ; RUN: | FileCheck %s --check-prefix=BLINDINGO2
19 19
20 ; Command for checking global variable reordering 20 ; Command for checking global variable reordering
21 ; RUN: %p2i --target x8632 -i %s \ 21 ; RUN: %p2i --target x8632 -i %s \
22 ; RUN: --filetype=obj --disassemble --dis-flags=-rD \ 22 ; RUN: --filetype=obj --disassemble --dis-flags=-rD \
23 ; RUN: --args -O2 -sz-seed=1 \ 23 ; RUN: --args -O2 -sz-seed=1 \
24 ; RUN: -randomize-pool-immediates=randomize \ 24 ; RUN: -randomize-pool-immediates=randomize \
25 ; RUN: -randomize-pool-threshold=0x1 \ 25 ; RUN: -randomize-pool-threshold=0x1 \
26 ; RUN:» -reorder-global-variables \ 26 ; RUN: -reorder-global-variables \
27 ; RUN: -reorder-basic-blocks \ 27 ; RUN: -reorder-basic-blocks \
28 ; RUN: -reorder-functions \ 28 ; RUN: -reorder-functions \
29 ; RUN: -randomize-regalloc \ 29 ; RUN: -randomize-regalloc \
30 ; RUN: -nop-insertion \ 30 ; RUN: -nop-insertion \
31 ; RUN: -reorder-pooled-constants \ 31 ; RUN: -reorder-pooled-constants \
32 ; RUN: | FileCheck %s --check-prefix=GLOBALVARS 32 ; RUN: | FileCheck %s --check-prefix=GLOBALVARS
33 33
34 ; Command for checking basic block reordering 34 ; Command for checking basic block reordering
35 ; RUN: %p2i --target x8632 -i %s --filetype=asm --args -O2 -sz-seed=1\ 35 ; RUN: %p2i --target x8632 -i %s --filetype=asm --args -O2 -sz-seed=1\
36 ; RUN: -randomize-pool-immediates=randomize \ 36 ; RUN: -randomize-pool-immediates=randomize \
37 ; RUN: -randomize-pool-threshold=0x1 \ 37 ; RUN: -randomize-pool-threshold=0x1 \
38 ; RUN:» -reorder-global-variables \ 38 ; RUN: -reorder-global-variables \
39 ; RUN: -reorder-basic-blocks \ 39 ; RUN: -reorder-basic-blocks \
40 ; RUN: -reorder-functions \ 40 ; RUN: -reorder-functions \
41 ; RUN: -randomize-regalloc \ 41 ; RUN: -randomize-regalloc \
42 ; RUN: -nop-insertion \ 42 ; RUN: -nop-insertion \
43 ; RUN: -reorder-pooled-constants \ 43 ; RUN: -reorder-pooled-constants \
44 ; RUN: | FileCheck %s --check-prefix=BBREORDERING 44 ; RUN: | FileCheck %s --check-prefix=BBREORDERING
45 45
46 ; Command for checking function reordering 46 ; Command for checking function reordering
47 ; RUN: %p2i --target x8632 -i %s --filetype=obj --disassemble --args -O2 \ 47 ; RUN: %p2i --target x8632 -i %s --filetype=obj --disassemble --args -O2 \
48 ; RUN: -sz-seed=1 -randomize-pool-immediates=randomize \ 48 ; RUN: -sz-seed=1 -randomize-pool-immediates=randomize \
49 ; RUN: -randomize-pool-threshold=0x1 \ 49 ; RUN: -randomize-pool-threshold=0x1 \
50 ; RUN:» -reorder-global-variables \ 50 ; RUN: -reorder-global-variables \
51 ; RUN: -reorder-basic-blocks \ 51 ; RUN: -reorder-basic-blocks \
52 ; RUN: -reorder-functions \ 52 ; RUN: -reorder-functions \
53 ; RUN: -randomize-regalloc \ 53 ; RUN: -randomize-regalloc \
54 ; RUN: -nop-insertion \ 54 ; RUN: -nop-insertion \
55 ; RUN: -reorder-pooled-constants \ 55 ; RUN: -reorder-pooled-constants \
56 ; RUN: | FileCheck %s --check-prefix=FUNCREORDERING 56 ; RUN: | FileCheck %s --check-prefix=FUNCREORDERING
57 57
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: | FileCheck %s --check-prefix=REGALLOC 68 ; RUN: | FileCheck %s --check-prefix=REGALLOC
69 69
70 ; Command for checking nop insertion (Need to turn off randomize-regalloc) 70 ; Command for checking nop insertion (Need to turn off randomize-regalloc)
71 ; RUN: %p2i --target x8632 -i %s --filetype=asm --args \ 71 ; RUN: %p2i --target x8632 -i %s --filetype=asm --args \
72 ; RUN: -sz-seed=1 -randomize-pool-immediates=randomize \ 72 ; RUN: -sz-seed=1 -randomize-pool-immediates=randomize \
73 ; RUN:» -reorder-global-variables \ 73 ; RUN: -reorder-global-variables \
74 ; RUN: -reorder-basic-blocks \ 74 ; RUN: -reorder-basic-blocks \
75 ; RUN: -reorder-functions \ 75 ; RUN: -reorder-functions \
76 ; RUN: -randomize-regalloc=0 \ 76 ; RUN: -randomize-regalloc=0 \
77 ; RUN: -nop-insertion -nop-insertion-percentage=50\ 77 ; RUN: -nop-insertion -nop-insertion-percentage=50\
78 ; RUN: -reorder-pooled-constants \ 78 ; RUN: -reorder-pooled-constants \
79 ; RUN: | FileCheck %s --check-prefix=NOPINSERTION 79 ; RUN: | FileCheck %s --check-prefix=NOPINSERTION
80 80
81 ; Command for checking pooled constants reordering 81 ; Command for checking pooled constants reordering
82 ; RUN: %p2i --target x8632 -i %s --filetype=obj --disassemble --dis-flags=-s \ 82 ; RUN: %p2i --target x8632 -i %s --filetype=obj --disassemble --dis-flags=-s \
83 ; RUN: --args -O2 -sz-seed=1 \ 83 ; RUN: --args -O2 -sz-seed=1 \
84 ; RUN: -randomize-pool-immediates=randomize \ 84 ; RUN: -randomize-pool-immediates=randomize \
85 ; RUN: -randomize-pool-threshold=0x1 \ 85 ; RUN: -randomize-pool-threshold=0x1 \
86 ; RUN:» -reorder-global-variables \ 86 ; RUN: -reorder-global-variables \
87 ; RUN: -reorder-basic-blocks \ 87 ; RUN: -reorder-basic-blocks \
88 ; RUN: -reorder-functions \ 88 ; RUN: -reorder-functions \
89 ; RUN: -randomize-regalloc \ 89 ; RUN: -randomize-regalloc \
90 ; RUN: -nop-insertion \ 90 ; RUN: -nop-insertion \
91 ; RUN: -reorder-pooled-constants \ 91 ; RUN: -reorder-pooled-constants \
92 ; RUN: | FileCheck %s --check-prefix=POOLEDCONSTANTS 92 ; RUN: | FileCheck %s --check-prefix=POOLEDCONSTANTS
93 93
94 94
95 ; Global variables copied from reorder-global-variables.ll 95 ; Global variables copied from reorder-global-variables.ll
96 @PrimitiveInit = internal global [4 x i8] c"\1B\00\00\00", align 4 96 @PrimitiveInit = internal global [4 x i8] c"\1B\00\00\00", align 4
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 ; GLOBALVARS-LABEL: ArrayUninit 249 ; GLOBALVARS-LABEL: ArrayUninit
250 ; GLOBALVARS-LABEL: PrimitiveInitStatic 250 ; GLOBALVARS-LABEL: PrimitiveInitStatic
251 ; GLOBALVARS-LABEL: ArrayUninitConstDouble 251 ; GLOBALVARS-LABEL: ArrayUninitConstDouble
252 ; GLOBALVARS-LABEL: ArrayUninitConstInt 252 ; GLOBALVARS-LABEL: ArrayUninitConstInt
253 ; GLOBALVARS-LABEL: PrimitiveInitConst 253 ; GLOBALVARS-LABEL: PrimitiveInitConst
254 254
255 ; Check for pooled constant reordering 255 ; Check for pooled constant reordering
256 ; POOLEDCONSTANTS-LABEL: .rodata.cst4 256 ; POOLEDCONSTANTS-LABEL: .rodata.cst4
257 ; POOLEDCONSTANTS: 0000803e 0000803f 0000003f 00008040 257 ; POOLEDCONSTANTS: 0000803e 0000803f 0000003f 00008040
258 ; POOLEDCONSTANTS: 00000040 258 ; POOLEDCONSTANTS: 00000040
OLDNEW
« no previous file with comments | « tests_lit/llvm2ice_tests/globalrelocs.ll ('k') | tests_lit/llvm2ice_tests/unknown-arm-reg.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698