 Chromium Code Reviews
 Chromium Code Reviews Issue 1724643002:
  Subzero: Basic unconditional branch for Mips.  (Closed) 
  Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
    
  
    Issue 1724643002:
  Subzero: Basic unconditional branch for Mips.  (Closed) 
  Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master| OLD | NEW | 
|---|---|
| (Empty) | |
| 1 ; TODO(rkotler): Stop skipping unimplemented parts (via --skip-unimplemented) | |
| 2 ; once enough infrastructure is in. Also, switch to --filetype=obj | |
| 3 ; when possible. | |
| 4 ; RUN: %if --need=target_MIPS32 --need=allow_dump \ | |
| 5 ; RUN: --command %p2i --filetype=asm --assemble \ | |
| 6 ; RUN: --disassemble --target mips32 -i %s --args -O2 --skip-unimplemented \ | |
| 7 ; RUN: -allow-externally-defined-symbols \ | |
| 8 ; RUN: | %if --need=target_MIPS32 --need=allow_dump \ | |
| 9 ; RUN: --command FileCheck --check-prefix MIPS32 %s | |
| 10 | |
| 11 define internal void @uncond1(i32 %i) { | |
| 12 %1 = alloca i8, i32 4, align 4 | |
| 13 %.bc = bitcast i8* %1 to i32* | |
| 14 store i32 %i, i32* %.bc, align 1 | |
| 15 br label %target | |
| 16 ; <label>:target ; preds = %2, %0 | |
| 
Jim Stichnoth
2016/02/24 00:11:54
Just remove this comment.
 
rkotlerimgtec
2016/02/24 00:34:27
Done.
 | |
| 17 target: | |
| 18 %.bc1 = bitcast i8* %1 to i32* | |
| 19 %2 = load i32, i32* %.bc1, align 1 | |
| 20 %3 = add i32 %2, 1 | |
| 21 %.bc2 = bitcast i8* %1 to i32* | |
| 22 store i32 %3, i32* %.bc2, align 1 | |
| 23 br label %target | |
| 24 } | |
| 25 | |
| 26 ; MIPS32-LABEL: uncond1 | |
| 27 ; MIPS32: b 8 <.Luncond1$target> | |
| 28 ; MIPS32: <.Luncond1$target>: | |
| 29 ; MIPS32: li | |
| 30 ; MIPS32: addu | |
| 31 ; MIPS32: b 8 <.Luncond1$target> | |
| OLD | NEW |