OLD | NEW |
1 ; REQUIRES: allow_dump | 1 ; REQUIRES: allow_dump |
2 | 2 |
3 ; RUN: %p2i -i %s --filetype=asm --assemble --disassemble --target=mips32 \ | 3 ; RUN: %p2i -i %s --filetype=asm --assemble --disassemble --target=mips32 \ |
4 ; RUN: -a -skip-unimplemented -sz-seed=1 -nop-insertion \ | 4 ; RUN: -a -sz-seed=1 -nop-insertion \ |
5 ; RUN: -nop-insertion-percentage=50 -max-nops-per-instruction=1 \ | 5 ; RUN: -nop-insertion-percentage=50 -max-nops-per-instruction=1 \ |
6 ; RUN: | FileCheck %s --check-prefix=MIPS32P50N1 | 6 ; RUN: | FileCheck %s --check-prefix=MIPS32P50N1 |
7 ; RUN: %p2i -i %s --filetype=asm --assemble --disassemble --target=mips32 \ | 7 ; RUN: %p2i -i %s --filetype=asm --assemble --disassemble --target=mips32 \ |
8 ; RUN: -a -skip-unimplemented -sz-seed=1 -nop-insertion \ | 8 ; RUN: -a -sz-seed=1 -nop-insertion \ |
9 ; RUN: -nop-insertion-percentage=110 -max-nops-per-instruction=2 \ | 9 ; RUN: -nop-insertion-percentage=110 -max-nops-per-instruction=2 \ |
10 ; RUN: | FileCheck %s --check-prefix=MIPS32P110N2 | 10 ; RUN: | FileCheck %s --check-prefix=MIPS32P110N2 |
11 | 11 |
12 | 12 |
13 define internal i32 @nopInsertion(i32 %a, i32 %b, i32 %c) { | 13 define internal i32 @nopInsertion(i32 %a, i32 %b, i32 %c) { |
14 entry: | 14 entry: |
15 %a1 = add i32 %a, 1 | 15 %a1 = add i32 %a, 1 |
16 %b1 = add i32 %b, 2 | 16 %b1 = add i32 %b, 2 |
17 %c1 = add i32 %c, 3 | 17 %c1 = add i32 %c, 3 |
18 %a2 = sub i32 %a1, 1 | 18 %a2 = sub i32 %a1, 1 |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 ; MIPS32P110N2: nop | 199 ; MIPS32P110N2: nop |
200 ; MIPS32P110N2: lw {{.*}} | 200 ; MIPS32P110N2: lw {{.*}} |
201 ; MIPS32P110N2: nop | 201 ; MIPS32P110N2: nop |
202 ; MIPS32P110N2: nop | 202 ; MIPS32P110N2: nop |
203 ; MIPS32P110N2: addiu {{.*}} | 203 ; MIPS32P110N2: addiu {{.*}} |
204 ; MIPS32P110N2: nop | 204 ; MIPS32P110N2: nop |
205 ; MIPS32P110N2: nop | 205 ; MIPS32P110N2: nop |
206 ; MIPS32P110N2: jr ra | 206 ; MIPS32P110N2: jr ra |
207 ; MIPS32P110N2: nop | 207 ; MIPS32P110N2: nop |
208 ; MIPS32P110N2: nop | 208 ; MIPS32P110N2: nop |
OLD | NEW |