Mercurial > hg > Members > kono > compiler-examples
changeset 6:5350f1289f50
*** empty log message ***
author | kono |
---|---|
date | Fri, 17 Nov 2006 18:26:08 +0900 |
parents | 3fc420dc1bec |
children | fbb9cf5e483f |
files | .gdbinit Makefile calc.s |
diffstat | 3 files changed, 842 insertions(+), 846 deletions(-) [+] |
line wrap: on
line diff
--- a/.gdbinit Fri Nov 17 18:20:23 2006 +0900 +++ b/.gdbinit Fri Nov 17 18:26:08 2006 +0900 @@ -2,3 +2,37 @@ b aexpr b mexpr b term + +define regs +printf "pc =%08x lr =%08x r0 =%08x r1 =%08x r3= %08x r4= %08x\n",$pc,$lr,$r0,$r1,$r3,$r4 +printf "r10=%08x r11=%08x r12=%08x r13=%08x r14=%08x r15=%08x\n",$r10,$r11,$r12,$r13,$r14,$r15 +end +define fregs +printf "f1=%g f2=%g f3=%g f4=%g f5=%g f6=%g\n",$f1,$f2,$f3,$f4,$f5,$f6 +printf "f10=%g f11=%g f12=%g f13=%g f14=%g f15=%g\n",$f10,$f11,$f12,$f13,$f14,$f15 +end +define allreg +printf "pc =%08x lr =%08x r0 =%08x r1 =%08x r3= %08x r4= %08x\n",$pc,$lr,$r0,$r1,$r3,$r4 +printf "r5=%08x r6=%08x r7=%08x r8=%08x r9=%08x\n",$r5,$r6,$r7,$r8,$r9 +printf "r10=%08x r11=%08x r12=%08x r13=%08x r14=%08x r15=%08x\n",$r10,$r11,$r12,$r13,$r14,$r15 +printf "r16=%08x r17=%08x r18=%08x r19=%08x r20=%08x r21=%08x\n",$r10,$r11,$r12,$r13,$r14,$r15 +printf "f1=%g f2=%g f3=%g f4=%g f5=%g f6=%g\n",$f1,$f2,$f3,$f4,$f5,$f6 +printf "f10=%g f11=%g f12=%g f13=%g f14=%g f15=%g\n",$f10,$f11,$f12,$f13,$f14,$f15 +printf "f20=%g f21=%g f22=%g f23=%g f24=%g f25=%g\n",$f20,$f21,$f22,$f23,$f24,$f25 +end +define sh +regs +x/20i $pc-36 +end +define si +stepi +regs +x/1i $pc +end +define ni +nexti +regs +x/1i $pc +end +# b errmsg +tb main
--- a/Makefile Fri Nov 17 18:20:23 2006 +0900 +++ b/Makefile Fri Nov 17 18:26:08 2006 +0900 @@ -2,11 +2,11 @@ CC = gcc CFLAGS = -g -# COMPILER = s-compile.o s-token.o +COMPILER = s-compile.o s-token.o # COMPILER = s-tree-compile.o s-token.o -COMPILER = s-yacc.o s-token.o +# COMPILER = s-yacc.o s-token.o -TARGET = token calc s-calc s-prefix s-rpn s-09 s-intel s-intel-r s-sparc s-rs6k s-m68k +TARGET = token calc s-calc s-prefix s-rpn s-09 s-intel s-intel-r s-sparc s-rs6k s-m68k s-ppc all: $(TARGET) token: token.o s-token.o @@ -25,6 +25,8 @@ $(CC) $(CFLAGS) -o $@ $^ s-rpn: $(COMPILER) s-code-print.o $(CC) $(CFLAGS) -o $@ $^ +s-ppc: $(COMPILER) s-code-ppc.o + $(CC) $(CFLAGS) -o $@ $^ s-09: $(COMPILER) s-code-09.o $(CC) $(CFLAGS) -o $@ $^ s-intel: $(COMPILER) s-code-intel.o @@ -62,114 +64,66 @@ # DO NOT DELETE -calc.o: /usr/include/stdio.h /usr/include/sys/types.h -calc.o: /usr/include/sys/appleapiopts.h /usr/include/sys/cdefs.h -calc.o: /usr/include/machine/types.h /usr/include/ppc/types.h -calc.o: /usr/include/machine/ansi.h /usr/include/ppc/ansi.h -calc.o: /usr/include/machine/endian.h /usr/include/ppc/endian.h -compile-m68k.o: /usr/include/stdio.h /usr/include/sys/types.h -compile-m68k.o: /usr/include/sys/appleapiopts.h /usr/include/sys/cdefs.h -compile-m68k.o: /usr/include/machine/types.h /usr/include/ppc/types.h -compile-m68k.o: /usr/include/machine/ansi.h /usr/include/ppc/ansi.h -compile-m68k.o: /usr/include/machine/endian.h /usr/include/ppc/endian.h -compile.o: /usr/include/stdio.h /usr/include/sys/types.h -compile.o: /usr/include/sys/appleapiopts.h /usr/include/sys/cdefs.h -compile.o: /usr/include/machine/types.h /usr/include/ppc/types.h -compile.o: /usr/include/machine/ansi.h /usr/include/ppc/ansi.h -compile.o: /usr/include/machine/endian.h /usr/include/ppc/endian.h -s-calc-r.o: /usr/include/stdio.h /usr/include/sys/types.h -s-calc-r.o: /usr/include/sys/appleapiopts.h /usr/include/sys/cdefs.h -s-calc-r.o: /usr/include/machine/types.h /usr/include/ppc/types.h -s-calc-r.o: /usr/include/machine/ansi.h /usr/include/ppc/ansi.h -s-calc-r.o: /usr/include/machine/endian.h /usr/include/ppc/endian.h -s-calc.o: s-compile.h /usr/include/stdio.h /usr/include/sys/types.h -s-calc.o: /usr/include/sys/appleapiopts.h /usr/include/sys/cdefs.h -s-calc.o: /usr/include/machine/types.h /usr/include/ppc/types.h -s-calc.o: /usr/include/machine/ansi.h /usr/include/ppc/ansi.h -s-calc.o: /usr/include/machine/endian.h /usr/include/ppc/endian.h -s-code-09.o: s-compile.h /usr/include/stdio.h /usr/include/sys/types.h -s-code-09.o: /usr/include/sys/appleapiopts.h /usr/include/sys/cdefs.h -s-code-09.o: /usr/include/machine/types.h /usr/include/ppc/types.h -s-code-09.o: /usr/include/machine/ansi.h /usr/include/ppc/ansi.h -s-code-09.o: /usr/include/machine/endian.h /usr/include/ppc/endian.h -s-code-intel-r.o: s-compile.h /usr/include/stdio.h /usr/include/sys/types.h -s-code-intel-r.o: /usr/include/sys/appleapiopts.h /usr/include/sys/cdefs.h -s-code-intel-r.o: /usr/include/machine/types.h /usr/include/ppc/types.h -s-code-intel-r.o: /usr/include/machine/ansi.h /usr/include/ppc/ansi.h -s-code-intel-r.o: /usr/include/machine/endian.h /usr/include/ppc/endian.h -s-code-intel.o: s-compile.h /usr/include/stdio.h /usr/include/sys/types.h -s-code-intel.o: /usr/include/sys/appleapiopts.h /usr/include/sys/cdefs.h -s-code-intel.o: /usr/include/machine/types.h /usr/include/ppc/types.h -s-code-intel.o: /usr/include/machine/ansi.h /usr/include/ppc/ansi.h -s-code-intel.o: /usr/include/machine/endian.h /usr/include/ppc/endian.h -s-code-m68k.o: s-compile.h /usr/include/stdio.h /usr/include/sys/types.h -s-code-m68k.o: /usr/include/sys/appleapiopts.h /usr/include/sys/cdefs.h -s-code-m68k.o: /usr/include/machine/types.h /usr/include/ppc/types.h -s-code-m68k.o: /usr/include/machine/ansi.h /usr/include/ppc/ansi.h -s-code-m68k.o: /usr/include/machine/endian.h /usr/include/ppc/endian.h -s-code-print.o: s-compile.h /usr/include/stdio.h /usr/include/sys/types.h -s-code-print.o: /usr/include/sys/appleapiopts.h /usr/include/sys/cdefs.h -s-code-print.o: /usr/include/machine/types.h /usr/include/ppc/types.h -s-code-print.o: /usr/include/machine/ansi.h /usr/include/ppc/ansi.h -s-code-print.o: /usr/include/machine/endian.h /usr/include/ppc/endian.h -s-code-rs6k-r.o: s-compile.h /usr/include/stdio.h /usr/include/sys/types.h -s-code-rs6k-r.o: /usr/include/sys/appleapiopts.h /usr/include/sys/cdefs.h -s-code-rs6k-r.o: /usr/include/machine/types.h /usr/include/ppc/types.h -s-code-rs6k-r.o: /usr/include/machine/ansi.h /usr/include/ppc/ansi.h -s-code-rs6k-r.o: /usr/include/machine/endian.h /usr/include/ppc/endian.h -s-code-rs6k.o: s-compile.h /usr/include/stdio.h /usr/include/sys/types.h -s-code-rs6k.o: /usr/include/sys/appleapiopts.h /usr/include/sys/cdefs.h -s-code-rs6k.o: /usr/include/machine/types.h /usr/include/ppc/types.h -s-code-rs6k.o: /usr/include/machine/ansi.h /usr/include/ppc/ansi.h -s-code-rs6k.o: /usr/include/machine/endian.h /usr/include/ppc/endian.h -s-code-sparc.o: s-compile.h /usr/include/stdio.h /usr/include/sys/types.h -s-code-sparc.o: /usr/include/sys/appleapiopts.h /usr/include/sys/cdefs.h -s-code-sparc.o: /usr/include/machine/types.h /usr/include/ppc/types.h -s-code-sparc.o: /usr/include/machine/ansi.h /usr/include/ppc/ansi.h -s-code-sparc.o: /usr/include/machine/endian.h /usr/include/ppc/endian.h -s-compile.o: s-compile.h /usr/include/stdio.h /usr/include/sys/types.h -s-compile.o: /usr/include/sys/appleapiopts.h /usr/include/sys/cdefs.h -s-compile.o: /usr/include/machine/types.h /usr/include/ppc/types.h -s-compile.o: /usr/include/machine/ansi.h /usr/include/ppc/ansi.h -s-compile.o: /usr/include/machine/endian.h /usr/include/ppc/endian.h -s-prefix.o: s-compile.h /usr/include/stdio.h /usr/include/sys/types.h -s-prefix.o: /usr/include/sys/appleapiopts.h /usr/include/sys/cdefs.h -s-prefix.o: /usr/include/machine/types.h /usr/include/ppc/types.h -s-prefix.o: /usr/include/machine/ansi.h /usr/include/ppc/ansi.h -s-prefix.o: /usr/include/machine/endian.h /usr/include/ppc/endian.h -s-token.o: s-compile.h /usr/include/stdio.h /usr/include/sys/types.h -s-token.o: /usr/include/sys/appleapiopts.h /usr/include/sys/cdefs.h -s-token.o: /usr/include/machine/types.h /usr/include/ppc/types.h -s-token.o: /usr/include/machine/ansi.h /usr/include/ppc/ansi.h -s-token.o: /usr/include/machine/endian.h /usr/include/ppc/endian.h -s-tree-compile.o: s-compile.h /usr/include/stdio.h /usr/include/sys/types.h -s-tree-compile.o: /usr/include/sys/appleapiopts.h /usr/include/sys/cdefs.h -s-tree-compile.o: /usr/include/machine/types.h /usr/include/ppc/types.h -s-tree-compile.o: /usr/include/machine/ansi.h /usr/include/ppc/ansi.h -s-tree-compile.o: /usr/include/machine/endian.h /usr/include/ppc/endian.h -s-tree.o: /usr/include/stdio.h /usr/include/sys/types.h -s-tree.o: /usr/include/sys/appleapiopts.h /usr/include/sys/cdefs.h -s-tree.o: /usr/include/machine/types.h /usr/include/ppc/types.h -s-tree.o: /usr/include/machine/ansi.h /usr/include/ppc/ansi.h -s-tree.o: /usr/include/machine/endian.h /usr/include/ppc/endian.h -s-yacc.o: /usr/include/stdlib.h /usr/include/machine/ansi.h -s-yacc.o: /usr/include/ppc/ansi.h /usr/include/machine/types.h -s-yacc.o: /usr/include/ppc/types.h /usr/include/sys/cdefs.h s-compile.h -s-yacc.o: /usr/include/stdio.h /usr/include/sys/types.h -s-yacc.o: /usr/include/sys/appleapiopts.h /usr/include/machine/endian.h -s-yacc.o: /usr/include/ppc/endian.h -token.o: s-compile.h /usr/include/stdio.h /usr/include/sys/types.h -token.o: /usr/include/sys/appleapiopts.h /usr/include/sys/cdefs.h -token.o: /usr/include/machine/types.h /usr/include/ppc/types.h -token.o: /usr/include/machine/ansi.h /usr/include/ppc/ansi.h -token.o: /usr/include/machine/endian.h /usr/include/ppc/endian.h -y.tab.o: s-compile.h /usr/include/stdio.h /usr/include/sys/types.h -y.tab.o: /usr/include/sys/appleapiopts.h /usr/include/sys/cdefs.h -y.tab.o: /usr/include/machine/types.h /usr/include/ppc/types.h -y.tab.o: /usr/include/machine/ansi.h /usr/include/ppc/ansi.h -y.tab.o: /usr/include/machine/endian.h /usr/include/ppc/endian.h -s-yacc.o: s-compile.h /usr/include/stdio.h /usr/include/sys/types.h -s-yacc.o: /usr/include/sys/appleapiopts.h /usr/include/sys/cdefs.h -s-yacc.o: /usr/include/machine/types.h /usr/include/ppc/types.h -s-yacc.o: /usr/include/machine/ansi.h /usr/include/ppc/ansi.h -s-yacc.o: /usr/include/machine/endian.h /usr/include/ppc/endian.h +calc.o: /usr/include/stdio.h /usr/include/_types.h /usr/include/sys/_types.h +calc.o: /usr/include/sys/cdefs.h /usr/include/machine/_types.h +calc.o: /usr/include/ppc/_types.h +compile-m68k.o: /usr/include/stdio.h /usr/include/_types.h +compile-m68k.o: /usr/include/sys/_types.h /usr/include/sys/cdefs.h +compile-m68k.o: /usr/include/machine/_types.h /usr/include/ppc/_types.h +compile.o: /usr/include/stdio.h /usr/include/_types.h +compile.o: /usr/include/sys/_types.h /usr/include/sys/cdefs.h +compile.o: /usr/include/machine/_types.h /usr/include/ppc/_types.h +s-calc-r.o: /usr/include/stdio.h /usr/include/_types.h +s-calc-r.o: /usr/include/sys/_types.h /usr/include/sys/cdefs.h +s-calc-r.o: /usr/include/machine/_types.h /usr/include/ppc/_types.h +s-calc.o: s-compile.h /usr/include/stdio.h /usr/include/_types.h +s-calc.o: /usr/include/sys/_types.h /usr/include/sys/cdefs.h +s-calc.o: /usr/include/machine/_types.h /usr/include/ppc/_types.h +s-code-09.o: s-compile.h /usr/include/stdio.h /usr/include/_types.h +s-code-09.o: /usr/include/sys/_types.h /usr/include/sys/cdefs.h +s-code-09.o: /usr/include/machine/_types.h /usr/include/ppc/_types.h +s-code-intel-r.o: s-compile.h /usr/include/stdio.h /usr/include/_types.h +s-code-intel-r.o: /usr/include/sys/_types.h /usr/include/sys/cdefs.h +s-code-intel-r.o: /usr/include/machine/_types.h /usr/include/ppc/_types.h +s-code-intel.o: s-compile.h /usr/include/stdio.h /usr/include/_types.h +s-code-intel.o: /usr/include/sys/_types.h /usr/include/sys/cdefs.h +s-code-intel.o: /usr/include/machine/_types.h /usr/include/ppc/_types.h +s-code-m68k.o: s-compile.h /usr/include/stdio.h /usr/include/_types.h +s-code-m68k.o: /usr/include/sys/_types.h /usr/include/sys/cdefs.h +s-code-m68k.o: /usr/include/machine/_types.h /usr/include/ppc/_types.h +s-code-ppc.o: s-compile.h /usr/include/stdio.h /usr/include/_types.h +s-code-ppc.o: /usr/include/sys/_types.h /usr/include/sys/cdefs.h +s-code-ppc.o: /usr/include/machine/_types.h /usr/include/ppc/_types.h +s-code-print.o: s-compile.h /usr/include/stdio.h /usr/include/_types.h +s-code-print.o: /usr/include/sys/_types.h /usr/include/sys/cdefs.h +s-code-print.o: /usr/include/machine/_types.h /usr/include/ppc/_types.h +s-code-rs6k-r.o: s-compile.h /usr/include/stdio.h /usr/include/_types.h +s-code-rs6k-r.o: /usr/include/sys/_types.h /usr/include/sys/cdefs.h +s-code-rs6k-r.o: /usr/include/machine/_types.h /usr/include/ppc/_types.h +s-code-rs6k.o: s-compile.h /usr/include/stdio.h /usr/include/_types.h +s-code-rs6k.o: /usr/include/sys/_types.h /usr/include/sys/cdefs.h +s-code-rs6k.o: /usr/include/machine/_types.h /usr/include/ppc/_types.h +s-code-sparc.o: s-compile.h /usr/include/stdio.h /usr/include/_types.h +s-code-sparc.o: /usr/include/sys/_types.h /usr/include/sys/cdefs.h +s-code-sparc.o: /usr/include/machine/_types.h /usr/include/ppc/_types.h +s-compile.o: s-compile.h /usr/include/stdio.h /usr/include/_types.h +s-compile.o: /usr/include/sys/_types.h /usr/include/sys/cdefs.h +s-compile.o: /usr/include/machine/_types.h /usr/include/ppc/_types.h +s-compile.o: /usr/include/stdio.h /usr/include/_types.h +s-compile.o: /usr/include/sys/_types.h /usr/include/sys/cdefs.h +s-compile.o: /usr/include/machine/_types.h /usr/include/ppc/_types.h +s-prefix.o: s-compile.h /usr/include/stdio.h /usr/include/_types.h +s-prefix.o: /usr/include/sys/_types.h /usr/include/sys/cdefs.h +s-prefix.o: /usr/include/machine/_types.h /usr/include/ppc/_types.h +s-token.o: s-compile.h /usr/include/stdio.h /usr/include/_types.h +s-token.o: /usr/include/sys/_types.h /usr/include/sys/cdefs.h +s-token.o: /usr/include/machine/_types.h /usr/include/ppc/_types.h +s-tree-compile.o: s-compile.h /usr/include/stdio.h /usr/include/_types.h +s-tree-compile.o: /usr/include/sys/_types.h /usr/include/sys/cdefs.h +s-tree-compile.o: /usr/include/machine/_types.h /usr/include/ppc/_types.h +s-tree.o: /usr/include/stdio.h /usr/include/_types.h +s-tree.o: /usr/include/sys/_types.h /usr/include/sys/cdefs.h +s-tree.o: /usr/include/machine/_types.h /usr/include/ppc/_types.h +token.o: s-compile.h /usr/include/stdio.h /usr/include/_types.h +token.o: /usr/include/sys/_types.h /usr/include/sys/cdefs.h +token.o: /usr/include/machine/_types.h /usr/include/ppc/_types.h
--- a/calc.s Fri Nov 17 18:20:23 2006 +0900 +++ b/calc.s Fri Nov 17 18:26:08 2006 +0900 @@ -1,59 +1,58 @@ -.text + .section __TEXT,__text,regular,pure_instructions + .section __TEXT,__picsymbolstub1,symbol_stubs,pure_instructions,32 + .machine ppc + .text .align 2 _line_skip: mflr r0 - bcl 20,31,L1$pb -L1$pb: + bcl 20,31,"L00000000001$pb" +"L00000000001$pb": mflr r10 mtlr r0 - addis r9,r10,ha16(L_ptr$non_lazy_ptr-L1$pb) - lwz r11,lo16(L_ptr$non_lazy_ptr-L1$pb)(r9) -L2: - lwz r9,0(r11) - lbz r0,0(r9) - addi r9,r9,1 + addis r2,r10,ha16(L_ptr$non_lazy_ptr-"L00000000001$pb") + lwz r11,lo16(L_ptr$non_lazy_ptr-"L00000000001$pb")(r2) +L3: + lwz r2,0(r11) + lbz r0,0(r2) + addi r9,r2,1 stw r9,0(r11) - cmpwi cr0,r0,0 - bne+ cr0,L2 - addis r9,r10,ha16(L_ptr$non_lazy_ptr-L1$pb) - lwz r9,lo16(L_ptr$non_lazy_ptr-L1$pb)(r9) - lwz r0,0(r9) - addis r9,r10,ha16(L_last_ptr$non_lazy_ptr-L1$pb) - lwz r9,lo16(L_last_ptr$non_lazy_ptr-L1$pb)(r9) - stw r0,0(r9) + extsb. r2,r0 + bne cr0,L3 + addis r2,r10,ha16(L_last_ptr$non_lazy_ptr-"L00000000001$pb") + lwz r2,lo16(L_last_ptr$non_lazy_ptr-"L00000000001$pb")(r2) + stw r9,0(r2) li r0,-1 - addis r9,r10,ha16(L_last_token$non_lazy_ptr-L1$pb) - lwz r9,lo16(L_last_token$non_lazy_ptr-L1$pb)(r9) - stw r0,0(r9) + addis r2,r10,ha16(L_last_token$non_lazy_ptr-"L00000000001$pb") + lwz r2,lo16(L_last_token$non_lazy_ptr-"L00000000001$pb")(r2) + stw r0,0(r2) blr -.data -.cstring + .cstring .align 2 LC0: .ascii "%s on %s\12\0" -.text + .text .align 2 _error: mflr r0 stw r31,-4(r1) stw r0,8(r1) stwu r1,-80(r1) - bcl 20,31,L2$pb -L2$pb: + bcl 20,31,"L00000000002$pb" +"L00000000002$pb": mflr r31 mr r5,r3 - addis r3,r31,ha16(L___sF$non_lazy_ptr-L2$pb) - lwz r3,lo16(L___sF$non_lazy_ptr-L2$pb)(r3) + addis r3,r31,ha16(L___sF$non_lazy_ptr-"L00000000002$pb") + lwz r3,lo16(L___sF$non_lazy_ptr-"L00000000002$pb")(r3) addi r3,r3,176 - addis r4,r31,ha16(LC0-L2$pb) - la r4,lo16(LC0-L2$pb)(r4) - addis r9,r31,ha16(L_last_ptr$non_lazy_ptr-L2$pb) - lwz r9,lo16(L_last_ptr$non_lazy_ptr-L2$pb)(r9) - lwz r6,0(r9) - bl L_fprintf$stub + addis r4,r31,ha16(LC0-"L00000000002$pb") + la r4,lo16(LC0-"L00000000002$pb")(r4) + addis r2,r31,ha16(L_last_ptr$non_lazy_ptr-"L00000000002$pb") + lwz r2,lo16(L_last_ptr$non_lazy_ptr-"L00000000002$pb")(r2) + lwz r6,0(r2) + bl L_fprintf$LDBLStub$stub bl _line_skip - lwz r0,88(r1) addi r1,r1,80 + lwz r0,8(r1) mtlr r0 lwz r31,-4(r1) blr @@ -63,324 +62,372 @@ stw r31,-4(r1) stw r0,8(r1) stwu r1,-80(r1) - bcl 20,31,L3$pb -L3$pb: + bcl 20,31,"L00000000003$pb" +"L00000000003$pb": mflr r31 - addis r9,r31,ha16(L_ptr$non_lazy_ptr-L3$pb) - lwz r9,lo16(L_ptr$non_lazy_ptr-L3$pb)(r9) - lwz r11,0(r9) - addis r9,r31,ha16(L_last_ptr$non_lazy_ptr-L3$pb) - lwz r9,lo16(L_last_ptr$non_lazy_ptr-L3$pb)(r9) - stw r11,0(r9) - lbz r0,0(r11) + addis r2,r31,ha16(L_ptr$non_lazy_ptr-"L00000000003$pb") + lwz r2,lo16(L_ptr$non_lazy_ptr-"L00000000003$pb")(r2) + lwz r9,0(r2) + addis r2,r31,ha16(L_last_ptr$non_lazy_ptr-"L00000000003$pb") + lwz r2,lo16(L_last_ptr$non_lazy_ptr-"L00000000003$pb")(r2) + stw r9,0(r2) + lbz r0,0(r9) extsb r3,r0 - cmpwi cr0,r3,32 - bgt- cr0,L8 - cmpwi cr0,r3,0 - beq- cr0,L8 - addis r9,r31,ha16(L_ptr$non_lazy_ptr-L3$pb) - lwz r11,lo16(L_ptr$non_lazy_ptr-L3$pb)(r9) + cmpwi cr7,r3,32 + bgt cr7,L11 + cmpwi cr7,r3,0 + beq cr7,L16 + addis r2,r31,ha16(L_ptr$non_lazy_ptr-"L00000000003$pb") + lwz r9,lo16(L_ptr$non_lazy_ptr-"L00000000003$pb")(r2) +L13: + lwz r2,0(r9) + addi r0,r2,1 + stw r0,0(r9) + lbz r0,1(r2) + extsb r3,r0 + cmpwi cr7,r3,32 + bgt cr7,L14 + cmpwi cr7,r3,0 + beq cr7,L16 + b L13 L11: - lwz r9,0(r11) - addi r0,r9,1 - stw r0,0(r11) - lbz r0,1(r9) - extsb r3,r0 - cmpwi cr0,r3,32 - bgt- cr0,L8 - cmpwi cr0,r3,0 - bne+ cr0,L11 -L8: - cmpwi cr0,r3,0 - bne- cr0,L12 + cmpwi cr7,r3,0 + bne cr7,L14 +L16: li r0,-1 - addis r9,r31,ha16(L_last_token$non_lazy_ptr-L3$pb) - lwz r9,lo16(L_last_token$non_lazy_ptr-L3$pb)(r9) - stw r0,0(r9) - b L77 -L12: - addis r9,r31,ha16(L_ptr$non_lazy_ptr-L3$pb) - lwz r9,lo16(L_ptr$non_lazy_ptr-L3$pb)(r9) - lwz r11,0(r9) - addi r0,r11,1 - stw r0,0(r9) - cmpwi cr0,r3,47 - bne+ cr0,L13 - lbz r0,1(r11) + addis r2,r31,ha16(L_last_token$non_lazy_ptr-"L00000000003$pb") + lwz r2,lo16(L_last_token$non_lazy_ptr-"L00000000003$pb")(r2) + stw r0,0(r2) + li r3,-1 + b L10 +L14: + addis r2,r31,ha16(L_ptr$non_lazy_ptr-"L00000000003$pb") + lwz r2,lo16(L_ptr$non_lazy_ptr-"L00000000003$pb")(r2) + lwz r9,0(r2) + addi r11,r9,1 + stw r11,0(r2) + cmpwi cr7,r3,47 + bne cr7,L18 + lbz r0,1(r9) extsb r0,r0 - cmpwi cr0,r0,47 - beq- cr0,L14 - cmpwi cr0,r0,42 - bne+ cr0,L13 -L14: + cmpwi cr7,r0,47 + beq cr7,L20 + cmpwi cr7,r0,42 + bne cr7,L18 +L20: bl _line_skip -L77: li r3,-1 - b L6 -L13: + b L10 +L18: addi r0,r3,-49 - cmplwi cr0,r0,8 - bgt- cr0,L15 + cmplwi cr7,r0,8 + bgt cr7,L22 addi r10,r3,-48 - addis r11,r31,ha16(L_ptr$non_lazy_ptr-L3$pb) - lwz r11,lo16(L_ptr$non_lazy_ptr-L3$pb)(r11) - lwz r9,0(r11) + lbz r0,0(r11) + addi r9,r9,2 + addis r2,r31,ha16(L_ptr$non_lazy_ptr-"L00000000003$pb") + lwz r2,lo16(L_ptr$non_lazy_ptr-"L00000000003$pb")(r2) + stw r9,0(r2) + extsb. r11,r0 + bne cr0,L24 + b L25 +L26: + addi r0,r11,-48 + cmplwi cr7,r0,9 + bgt cr7,L27 +L88: + mulli r2,r10,10 + add r2,r11,r2 + addi r10,r2,-48 + addis r2,r31,ha16(L_ptr$non_lazy_ptr-"L00000000003$pb") + lwz r2,lo16(L_ptr$non_lazy_ptr-"L00000000003$pb")(r2) + lwz r9,0(r2) lbz r0,0(r9) addi r9,r9,1 - stw r9,0(r11) - extsb. r3,r0 - beq- cr0,L48 -L21: - addi r0,r3,-48 - cmplwi cr0,r0,9 - bgt- cr0,L48 - mulli r9,r10,10 - add r9,r9,r3 - addi r10,r9,-48 - lwz r9,0(r11) - lbz r0,0(r9) - addi r9,r9,1 - stw r9,0(r11) - extsb. r3,r0 - bne+ cr0,L21 - b L48 -L15: - cmpwi cr0,r3,48 - bne+ cr0,L24 - addis r9,r31,ha16(L_ptr$non_lazy_ptr-L3$pb) - lwz r8,lo16(L_ptr$non_lazy_ptr-L3$pb)(r9) - lwz r11,0(r8) + stw r9,0(r2) + extsb. r11,r0 + bne cr0,L26 + b L25 +L27: + addi r0,r9,-1 + addis r2,r31,ha16(L_ptr$non_lazy_ptr-"L00000000003$pb") + lwz r2,lo16(L_ptr$non_lazy_ptr-"L00000000003$pb")(r2) + stw r0,0(r2) +L25: + addis r2,r31,ha16(L_value$non_lazy_ptr-"L00000000003$pb") + lwz r2,lo16(L_value$non_lazy_ptr-"L00000000003$pb")(r2) + stw r10,0(r2) + li r0,48 + addis r2,r31,ha16(L_last_token$non_lazy_ptr-"L00000000003$pb") + lwz r2,lo16(L_last_token$non_lazy_ptr-"L00000000003$pb")(r2) + stw r0,0(r2) + li r3,48 + b L10 +L22: + cmpwi cr7,r3,48 + bne cr7,L29 lbz r0,0(r11) - cmpwi cr0,r0,120 - bne+ cr0,L24 - addi r9,r11,1 - stw r9,0(r8) - li r10,0 - lbz r0,1(r11) - addi r9,r9,1 - stw r9,0(r8) - extsb. r3,r0 - beq- cr0,L48 - mr r11,r8 + extsb r0,r0 + cmpwi cr7,r0,120 + bne cr7,L31 + addi r0,r9,2 + addis r2,r31,ha16(L_ptr$non_lazy_ptr-"L00000000003$pb") + lwz r2,lo16(L_ptr$non_lazy_ptr-"L00000000003$pb")(r2) + stw r0,0(r2) + li r11,0 + addis r2,r31,ha16(L_ptr$non_lazy_ptr-"L00000000003$pb") + lwz r10,lo16(L_ptr$non_lazy_ptr-"L00000000003$pb")(r2) + b L93 L34: - addi r0,r3,-48 - cmplwi cr0,r0,9 - bgt- cr0,L28 - slwi r9,r10,4 - add r9,r9,r3 - addi r10,r9,-48 - b L25 -L28: - addi r0,r3,-97 - cmplwi cr0,r0,5 - ble- cr0,L76 - addi r0,r3,-65 - cmplwi cr0,r0,5 - bgt- cr0,L48 -L76: - slwi r9,r10,4 - add r9,r9,r3 - addi r10,r9,-87 -L25: - lwz r9,0(r11) - lbz r0,0(r9) - addi r9,r9,1 - stw r9,0(r11) - extsb. r3,r0 - bne+ cr0,L34 - b L48 -L24: - cmpwi cr0,r3,48 - bne+ cr0,L37 - li r10,0 - addis r11,r31,ha16(L_ptr$non_lazy_ptr-L3$pb) - lwz r11,lo16(L_ptr$non_lazy_ptr-L3$pb)(r11) - lwz r9,0(r11) - lbz r0,0(r9) - addi r9,r9,1 - stw r9,0(r11) - extsb. r3,r0 - beq- cr0,L48 -L43: - addi r0,r3,-48 - cmplwi cr0,r0,7 - bgt- cr0,L48 - slwi r9,r10,3 - add r9,r9,r3 - addi r10,r9,-48 - lwz r9,0(r11) + addi r0,r9,-48 + cmplwi cr7,r0,9 + bgt cr7,L35 + slwi r2,r11,4 + add r2,r9,r2 + addi r11,r2,-48 + b L93 +L35: + addi r0,r9,-97 + cmplwi cr7,r0,5 + bgt cr7,L37 + slwi r2,r11,4 + add r2,r9,r2 + addi r11,r2,-87 + b L93 +L37: + addi r0,r9,-65 + cmplwi cr7,r0,5 + bgt cr7,L39 + slwi r2,r11,4 + add r2,r9,r2 + addi r11,r2,-87 +L93: + lwz r2,0(r10) + lbz r0,0(r2) + extsb r0,r0 + mr r9,r0 + addi r2,r2,1 + stw r2,0(r10) + cmpwi cr7,r0,0 + bne cr7,L34 + b L41 +L39: + addi r0,r2,-1 + addis r2,r31,ha16(L_ptr$non_lazy_ptr-"L00000000003$pb") + lwz r2,lo16(L_ptr$non_lazy_ptr-"L00000000003$pb")(r2) + stw r0,0(r2) +L41: + addis r2,r31,ha16(L_value$non_lazy_ptr-"L00000000003$pb") + lwz r2,lo16(L_value$non_lazy_ptr-"L00000000003$pb")(r2) + stw r11,0(r2) + li r0,48 + addis r2,r31,ha16(L_last_token$non_lazy_ptr-"L00000000003$pb") + lwz r2,lo16(L_last_token$non_lazy_ptr-"L00000000003$pb")(r2) + stw r0,0(r2) + li r3,48 + b L10 +L42: + addi r0,r11,-48 + cmplwi cr7,r0,7 + bgt cr7,L43 +L44: + slwi r2,r10,3 + add r2,r11,r2 + addi r10,r2,-48 + addis r2,r31,ha16(L_ptr$non_lazy_ptr-"L00000000003$pb") + lwz r2,lo16(L_ptr$non_lazy_ptr-"L00000000003$pb")(r2) + lwz r9,0(r2) lbz r0,0(r9) addi r9,r9,1 - stw r9,0(r11) - extsb. r3,r0 - bne+ cr0,L43 - b L48 -L37: - cmpwi cr0,r3,39 - bne+ cr0,L46 + stw r9,0(r2) + extsb. r11,r0 + bne cr0,L42 + b L45 +L46: li r10,0 - addis r11,r31,ha16(L_ptr$non_lazy_ptr-L3$pb) - lwz r11,lo16(L_ptr$non_lazy_ptr-L3$pb)(r11) - lwz r9,0(r11) - lbz r0,0(r9) - addi r9,r9,1 - stw r9,0(r11) - extsb. r3,r0 - beq- cr0,L48 - addis r6,r31,ha16(L_ptr$non_lazy_ptr-L3$pb) - mr r7,r11 -L54: - cmpwi cr0,r3,39 - beq- cr0,L50 - cmpwi cr0,r3,127 - bgt- cr0,L50 - slwi r0,r10,8 - add r10,r0,r3 - b L47 +L43: + addi r0,r9,-1 + addis r2,r31,ha16(L_ptr$non_lazy_ptr-"L00000000003$pb") + lwz r2,lo16(L_ptr$non_lazy_ptr-"L00000000003$pb")(r2) + stw r0,0(r2) +L45: + addis r2,r31,ha16(L_value$non_lazy_ptr-"L00000000003$pb") + lwz r2,lo16(L_value$non_lazy_ptr-"L00000000003$pb")(r2) + stw r10,0(r2) + li r0,48 + addis r2,r31,ha16(L_last_token$non_lazy_ptr-"L00000000003$pb") + lwz r2,lo16(L_last_token$non_lazy_ptr-"L00000000003$pb")(r2) + stw r0,0(r2) + li r3,48 + b L10 +L29: + cmpwi cr7,r3,39 + bne cr7,L47 + li r7,0 + addis r2,r31,ha16(L_ptr$non_lazy_ptr-"L00000000003$pb") + lwz r8,lo16(L_ptr$non_lazy_ptr-"L00000000003$pb")(r2) + b L94 L50: - cmpwi cr0,r3,127 - ble- cr0,L48 - lwz r8,lo16(L_ptr$non_lazy_ptr-L3$pb)(r6) - lwz r11,0(r8) + cmpwi cr7,r0,39 + beq cr7,L51 + cmpwi cr7,r2,127 + bgt cr7,L53 + slwi r0,r7,8 + add r7,r2,r0 + b L94 +L51: + cmpwi cr7,r2,127 + ble cr7,L55 +L53: lbz r0,0(r11) - extsb. r9,r0 - beq- cr0,L48 - slwi r0,r10,8 - add r0,r0,r3 + extsb. r10,r0 + beq cr0,L55 + slwi r0,r7,8 + add r0,r2,r0 slwi r0,r0,8 - add r10,r0,r9 - addi r0,r11,1 + add r7,r0,r10 + addi r0,r9,2 stw r0,0(r8) -L47: - lwz r9,0(r7) +L94: + lwz r9,0(r8) lbz r0,0(r9) - addi r9,r9,1 - stw r9,0(r7) - extsb. r3,r0 - bne+ cr0,L54 -L48: - cmpwi cr0,r3,0 - beq- cr0,L55 - addis r11,r31,ha16(L_ptr$non_lazy_ptr-L3$pb) - lwz r11,lo16(L_ptr$non_lazy_ptr-L3$pb)(r11) - lwz r9,0(r11) - addi r9,r9,-1 - stw r9,0(r11) + extsb r0,r0 + mr r2,r0 + addi r11,r9,1 + stw r11,0(r8) + cmpwi cr7,r0,0 + bne cr7,L50 + b L57 L55: - addis r9,r31,ha16(L_value$non_lazy_ptr-L3$pb) - lwz r9,lo16(L_value$non_lazy_ptr-L3$pb)(r9) - stw r10,0(r9) + addi r0,r11,-1 + addis r2,r31,ha16(L_ptr$non_lazy_ptr-"L00000000003$pb") + lwz r2,lo16(L_ptr$non_lazy_ptr-"L00000000003$pb")(r2) + stw r0,0(r2) +L57: + addis r2,r31,ha16(L_value$non_lazy_ptr-"L00000000003$pb") + lwz r2,lo16(L_value$non_lazy_ptr-"L00000000003$pb")(r2) + stw r7,0(r2) li r0,48 - addis r9,r31,ha16(L_last_token$non_lazy_ptr-L3$pb) - lwz r9,lo16(L_last_token$non_lazy_ptr-L3$pb)(r9) - stw r0,0(r9) + addis r2,r31,ha16(L_last_token$non_lazy_ptr-"L00000000003$pb") + lwz r2,lo16(L_last_token$non_lazy_ptr-"L00000000003$pb")(r2) + stw r0,0(r2) li r3,48 - b L6 -L46: + b L10 +L47: addi r0,r3,-97 - cmplwi cr0,r0,25 - ble- cr0,L58 + cmplwi cr7,r0,25 + ble cr7,L58 addi r0,r3,-65 - cmplwi cr0,r0,25 - bgt- cr0,L57 + cmplwi cr7,r0,25 + bgt cr7,L60 L58: addi r0,r3,-71 - cmpwi cr0,r3,90 - bgt- cr0,L60 + cmpwi cr7,r3,90 + bgt cr7,L63 addi r0,r3,-65 -L60: - addis r9,r31,ha16(L_value$non_lazy_ptr-L3$pb) - lwz r9,lo16(L_value$non_lazy_ptr-L3$pb)(r9) - stw r0,0(r9) +L63: + addis r2,r31,ha16(L_value$non_lazy_ptr-"L00000000003$pb") + lwz r2,lo16(L_value$non_lazy_ptr-"L00000000003$pb")(r2) + stw r0,0(r2) li r0,118 - addis r9,r31,ha16(L_last_token$non_lazy_ptr-L3$pb) - lwz r9,lo16(L_last_token$non_lazy_ptr-L3$pb)(r9) - stw r0,0(r9) + addis r2,r31,ha16(L_last_token$non_lazy_ptr-"L00000000003$pb") + lwz r2,lo16(L_last_token$non_lazy_ptr-"L00000000003$pb")(r2) + stw r0,0(r2) li r3,118 - b L6 -L57: - cmpwi cr0,r3,61 - bne+ cr0,L62 - addis r9,r31,ha16(L_ptr$non_lazy_ptr-L3$pb) - lwz r11,lo16(L_ptr$non_lazy_ptr-L3$pb)(r9) - lwz r9,0(r11) - lbz r0,0(r9) - cmpwi cr0,r0,61 - bne+ cr0,L62 - addi r0,r9,1 - stw r0,0(r11) + b L10 +L60: + cmpwi cr7,r3,61 + bne cr7,L64 + lbz r0,0(r11) + cmpwi cr7,r0,61 + bne cr7,L66 + addi r0,r9,2 + addis r2,r31,ha16(L_ptr$non_lazy_ptr-"L00000000003$pb") + lwz r2,lo16(L_ptr$non_lazy_ptr-"L00000000003$pb")(r2) + stw r0,0(r2) li r0,317 - addis r9,r31,ha16(L_last_token$non_lazy_ptr-L3$pb) - lwz r9,lo16(L_last_token$non_lazy_ptr-L3$pb)(r9) - stw r0,0(r9) + addis r2,r31,ha16(L_last_token$non_lazy_ptr-"L00000000003$pb") + lwz r2,lo16(L_last_token$non_lazy_ptr-"L00000000003$pb")(r2) + stw r0,0(r2) li r3,317 - b L6 -L62: - cmpwi cr0,r3,33 - bne+ cr0,L64 - addis r9,r31,ha16(L_ptr$non_lazy_ptr-L3$pb) - lwz r9,lo16(L_ptr$non_lazy_ptr-L3$pb)(r9) - lwz r9,0(r9) - lbz r0,0(r9) - cmpwi cr0,r0,61 - beq- cr0,L70 + b L10 L64: - cmpwi cr0,r3,60 - bne+ cr0,L66 - addis r9,r31,ha16(L_ptr$non_lazy_ptr-L3$pb) - lwz r11,lo16(L_ptr$non_lazy_ptr-L3$pb)(r9) - lwz r9,0(r11) - lbz r0,0(r9) - cmpwi cr0,r0,60 - bne+ cr0,L66 - addi r0,r9,1 - stw r0,0(r11) + cmpwi cr7,r3,33 + bne cr7,L68 + lbz r0,0(r11) + cmpwi cr7,r0,61 + bne cr7,L66 + addi r0,r9,2 + addis r2,r31,ha16(L_ptr$non_lazy_ptr-"L00000000003$pb") + lwz r2,lo16(L_ptr$non_lazy_ptr-"L00000000003$pb")(r2) + stw r0,0(r2) + li r0,289 + addis r2,r31,ha16(L_last_token$non_lazy_ptr-"L00000000003$pb") + lwz r2,lo16(L_last_token$non_lazy_ptr-"L00000000003$pb")(r2) + stw r0,0(r2) + b L10 +L68: + cmpwi cr7,r3,60 + bne cr7,L71 + lbz r0,0(r11) + cmpwi cr7,r0,60 + bne cr7,L66 + addi r0,r9,2 + addis r2,r31,ha16(L_ptr$non_lazy_ptr-"L00000000003$pb") + lwz r2,lo16(L_ptr$non_lazy_ptr-"L00000000003$pb")(r2) + stw r0,0(r2) li r0,316 - addis r9,r31,ha16(L_last_token$non_lazy_ptr-L3$pb) - lwz r9,lo16(L_last_token$non_lazy_ptr-L3$pb)(r9) - stw r0,0(r9) + addis r2,r31,ha16(L_last_token$non_lazy_ptr-"L00000000003$pb") + lwz r2,lo16(L_last_token$non_lazy_ptr-"L00000000003$pb")(r2) + stw r0,0(r2) li r3,316 - b L6 + b L10 +L71: + cmpwi cr7,r3,62 + bne cr7,L66 + lbz r0,0(r11) + cmpwi cr7,r0,62 + bne cr7,L66 + addi r0,r9,2 + addis r2,r31,ha16(L_ptr$non_lazy_ptr-"L00000000003$pb") + lwz r2,lo16(L_ptr$non_lazy_ptr-"L00000000003$pb")(r2) + stw r0,0(r2) + li r0,318 + addis r2,r31,ha16(L_last_token$non_lazy_ptr-"L00000000003$pb") + lwz r2,lo16(L_last_token$non_lazy_ptr-"L00000000003$pb")(r2) + stw r0,0(r2) + li r3,318 + b L10 L66: - cmpwi cr0,r3,62 - bne+ cr0,L68 - addis r9,r31,ha16(L_ptr$non_lazy_ptr-L3$pb) - lwz r11,lo16(L_ptr$non_lazy_ptr-L3$pb)(r9) - lwz r9,0(r11) - lbz r0,0(r9) - cmpwi cr0,r0,62 - bne+ cr0,L68 - addi r0,r9,1 - stw r0,0(r11) - li r0,318 - addis r9,r31,ha16(L_last_token$non_lazy_ptr-L3$pb) - lwz r9,lo16(L_last_token$non_lazy_ptr-L3$pb)(r9) - stw r0,0(r9) - li r3,318 - b L6 -L68: - addis r9,r31,ha16(L_last_token$non_lazy_ptr-L3$pb) - lwz r9,lo16(L_last_token$non_lazy_ptr-L3$pb)(r9) - stw r3,0(r9) - b L6 -L70: - addis r11,r31,ha16(L_ptr$non_lazy_ptr-L3$pb) - lwz r11,lo16(L_ptr$non_lazy_ptr-L3$pb)(r11) - lwz r9,0(r11) - addi r9,r9,1 - stw r9,0(r11) - li r0,289 - addis r9,r31,ha16(L_last_token$non_lazy_ptr-L3$pb) - lwz r9,lo16(L_last_token$non_lazy_ptr-L3$pb)(r9) - stw r0,0(r9) -L6: - lwz r0,88(r1) + addis r2,r31,ha16(L_last_token$non_lazy_ptr-"L00000000003$pb") + lwz r2,lo16(L_last_token$non_lazy_ptr-"L00000000003$pb")(r2) + stw r3,0(r2) + b L10 +L31: + addi r9,r9,2 + addis r2,r31,ha16(L_ptr$non_lazy_ptr-"L00000000003$pb") + lwz r2,lo16(L_ptr$non_lazy_ptr-"L00000000003$pb")(r2) + stw r9,0(r2) + li r10,0 + mr r11,r0 + cmpwi cr7,r0,0 + beq cr7,L45 + addi r0,r11,-48 + cmplwi cr7,r0,7 + ble cr7,L44 + b L46 +L24: + addi r0,r11,-48 + cmplwi cr7,r0,9 + ble cr7,L88 + b L27 +L10: addi r1,r1,80 + lwz r0,8(r1) mtlr r0 lwz r31,-4(r1) blr -.data -.cstring + .cstring .align 2 LC1: .ascii "? expression not terminated with :\0" @@ -390,152 +437,143 @@ .align 2 LC3: .ascii "Bad expression\0" -.text + .text .align 2 _expr: mflr r0 - stmw r28,-16(r1) + stmw r27,-20(r1) stw r0,8(r1) - stwu r1,-80(r1) - bcl 20,31,L4$pb -L4$pb: + stwu r1,-96(r1) + bcl 20,31,"L00000000004$pb" +"L00000000004$pb": mflr r31 + addis r2,r31,ha16(L_lvalue$non_lazy_ptr-"L00000000004$pb") + lwz r27,lo16(L_lvalue$non_lazy_ptr-"L00000000004$pb")(r2) + addis r2,r31,ha16(L_last_token$non_lazy_ptr-"L00000000004$pb") + lwz r28,lo16(L_last_token$non_lazy_ptr-"L00000000004$pb")(r2) +L97: bl L_aexpr$stub mr r30,r3 - addis r9,r31,ha16(L_lvalue$non_lazy_ptr-L4$pb) - lwz r9,lo16(L_lvalue$non_lazy_ptr-L4$pb)(r9) - lwz r28,0(r9) - addis r9,r31,ha16(L_last_token$non_lazy_ptr-L4$pb) - lwz r9,lo16(L_last_token$non_lazy_ptr-L4$pb)(r9) - lwz r0,0(r9) - cmpwi cr0,r0,-1 - beq- cr0,L108 - addis r9,r31,ha16(L_last_token$non_lazy_ptr-L4$pb) - lwz r29,lo16(L_last_token$non_lazy_ptr-L4$pb)(r9) -L106: - lwz r0,0(r29) - cmpwi cr0,r0,62 - beq- cr0,L86 - bgt- cr0,L103 - cmpwi cr0,r0,58 - beq- cr0,L110 - bgt- cr0,L104 - cmpwi cr0,r0,41 - beq- cr0,L110 - b L101 + lwz r29,0(r27) + b L131 +L99: + cmpwi cr7,r0,62 + beq cr7,L104 + bgt cr7,L110 + cmpwi cr7,r0,58 + beq cr7,L101 + bgt cr7,L111 + cmpwi cr7,r0,41 + beq cr7,L101 +L100: + addis r3,r31,ha16(LC3-"L00000000004$pb") + la r3,lo16(LC3-"L00000000004$pb")(r3) + bl _error + bl _token +L131: + lwz r0,0(r28) + cmpwi cr7,r0,-1 + bne cr7,L99 + b L128 +L111: + cmpwi cr7,r0,60 + beq cr7,L102 + cmpwi cr7,r0,61 + bne cr7,L100 + b L103 +L110: + cmpwi cr7,r0,316 + beq cr7,L107 + bgt cr7,L112 + cmpwi cr7,r0,63 + beq cr7,L105 + cmpwi cr7,r0,289 + bne cr7,L100 + b L106 +L112: + cmpwi cr7,r0,317 + beq cr7,L108 + cmpwi cr7,r0,318 + bne cr7,L100 + b L109 +L101: + mr r29,r30 + b L113 +L102: + bl L_aexpr$stub + cmpw cr7,r30,r3 + mfcr r30 + rlwinm r30,r30,29,1 + b L131 L104: - cmpwi cr0,r0,60 - beq- cr0,L84 - cmpwi cr0,r0,61 - beq- cr0,L96 - b L101 -L103: - cmpwi cr0,r0,316 - beq- cr0,L90 - bgt- cr0,L105 - cmpwi cr0,r0,63 - beq- cr0,L92 - cmpwi cr0,r0,289 - beq- cr0,L89 - b L101 -L105: - cmpwi cr0,r0,317 - beq- cr0,L88 - cmpwi cr0,r0,318 - beq- cr0,L91 - b L101 -L84: bl L_aexpr$stub - li r0,1 - cmpw cr0,r30,r3 - blt- cr0,L109 - b L112 -L86: - bl L_aexpr$stub - li r0,1 - cmpw cr0,r30,r3 - bgt- cr0,L109 -L112: - li r0,0 - b L109 -L88: + cmpw cr7,r30,r3 + mfcr r30 + rlwinm r30,r30,30,1 + b L131 +L108: bl L_aexpr$stub xor r30,r30,r3 subfic r0,r30,0 adde r30,r0,r30 - b L80 -L89: + b L131 +L106: bl L_aexpr$stub - xor r30,r30,r3 - addic r9,r30,-1 - subfe r0,r9,r30 -L109: - mr r30,r0 - b L80 -L90: + xor r3,r30,r3 + addic r0,r3,-1 + subfe r30,r0,r3 + b L131 +L107: bl L_aexpr$stub slw r30,r30,r3 - b L80 -L91: + b L131 +L109: bl L_aexpr$stub sraw r30,r30,r3 - b L80 -L92: + b L131 +L105: bl _expr - mr r28,r3 - lwz r0,0(r29) - cmpwi cr0,r0,58 - beq- cr0,L93 - addis r3,r31,ha16(LC1-L4$pb) - la r3,lo16(LC1-L4$pb)(r3) - bl _error - b L111 -L93: - cmpwi cr0,r30,0 - beq- cr0,L94 + mr r29,r3 + lwz r0,0(r28) + cmpwi cr7,r0,58 + bne cr7,L123 + cmpwi cr7,r30,0 + beq cr7,L97 bl _expr -L111: - mr r3,r28 - b L79 -L94: - bl _expr - b L79 -L96: - cmpwi cr0,r28,0 - blt- cr0,L97 + b L113 +L103: + cmpwi cr7,r29,0 + blt cr7,L117 bl _expr - slwi r0,r28,2 - addis r9,r31,ha16(L_variable$non_lazy_ptr-L4$pb) - lwz r9,lo16(L_variable$non_lazy_ptr-L4$pb)(r9) - stwx r3,r9,r0 - b L79 -L97: - addis r3,r31,ha16(LC2-L4$pb) - la r3,lo16(LC2-L4$pb)(r3) - bl _error - li r3,0 - b L79 -L101: - addis r3,r31,ha16(LC3-L4$pb) - la r3,lo16(LC3-L4$pb)(r3) + slwi r0,r29,2 + addis r2,r31,ha16(L_variable$non_lazy_ptr-"L00000000004$pb") + lwz r2,lo16(L_variable$non_lazy_ptr-"L00000000004$pb")(r2) + stwx r3,r2,r0 + mr r29,r3 + b L113 +L117: + addis r3,r31,ha16(LC2-"L00000000004$pb") + la r3,lo16(LC2-"L00000000004$pb")(r3) bl _error - bl _token -L80: - lwz r0,0(r29) - cmpwi cr0,r0,-1 - bne+ cr0,L106 -L108: + li r29,0 + b L113 +L123: + addis r3,r31,ha16(LC1-"L00000000004$pb") + la r3,lo16(LC1-"L00000000004$pb")(r3) + bl _error + b L113 +L128: li r0,-1 - addis r9,r31,ha16(L_last_token$non_lazy_ptr-L4$pb) - lwz r9,lo16(L_last_token$non_lazy_ptr-L4$pb)(r9) - stw r0,0(r9) -L110: - mr r3,r30 -L79: - lwz r0,88(r1) - addi r1,r1,80 + addis r2,r31,ha16(L_last_token$non_lazy_ptr-"L00000000004$pb") + lwz r2,lo16(L_last_token$non_lazy_ptr-"L00000000004$pb")(r2) + stw r0,0(r2) + mr r29,r30 +L113: + mr r3,r29 + addi r1,r1,96 + lwz r0,8(r1) mtlr r0 - lmw r28,-16(r1) + lmw r27,-20(r1) blr .align 2 _aexpr: @@ -543,61 +581,56 @@ stmw r29,-12(r1) stw r0,8(r1) stwu r1,-80(r1) - bcl 20,31,L5$pb -L5$pb: + bcl 20,31,"L00000000005$pb" +"L00000000005$pb": mflr r31 bl L_mexpr$stub mr r30,r3 - addis r9,r31,ha16(L_last_token$non_lazy_ptr-L5$pb) - lwz r9,lo16(L_last_token$non_lazy_ptr-L5$pb)(r9) - lwz r0,0(r9) - cmpwi cr0,r0,-1 - beq- cr0,L128 - addis r9,r31,ha16(L_last_token$non_lazy_ptr-L5$pb) - lwz r29,lo16(L_last_token$non_lazy_ptr-L5$pb)(r9) -L126: - lwz r0,0(r29) - cmpwi cr0,r0,45 - beq- cr0,L121 - bgt- cr0,L125 - cmpwi cr0,r0,38 - beq- cr0,L120 - cmpwi cr0,r0,43 - beq+ cr0,L122 - b L128 -L125: - cmpwi cr0,r0,94 - beq- cr0,L118 - cmpwi cr0,r0,124 - beq+ cr0,L119 - b L128 -L118: + addis r2,r31,ha16(L_last_token$non_lazy_ptr-"L00000000005$pb") + lwz r29,lo16(L_last_token$non_lazy_ptr-"L00000000005$pb")(r2) + b L148 +L134: + cmpwi cr7,r0,45 + beq cr7,L138 + bgt cr7,L141 + cmpwi cr7,r0,38 + beq cr7,L136 + cmpwi cr7,r0,43 + bne cr7,L135 + b L137 +L141: + cmpwi cr7,r0,94 + beq cr7,L139 + cmpwi cr7,r0,124 + bne cr7,L135 + b L140 +L139: bl L_mexpr$stub xor r30,r30,r3 - b L114 -L119: + b L148 +L140: bl L_mexpr$stub or r30,r30,r3 - b L114 -L120: + b L148 +L136: bl L_mexpr$stub and r30,r30,r3 - b L114 -L121: + b L148 +L138: bl L_mexpr$stub subf r30,r3,r30 - b L114 -L122: + b L148 +L137: bl L_mexpr$stub add r30,r30,r3 -L114: +L148: lwz r0,0(r29) - cmpwi cr0,r0,-1 - bne+ cr0,L126 -L128: + cmpwi cr7,r0,-1 + bne cr7,L134 +L135: mr r3,r30 - lwz r0,88(r1) addi r1,r1,80 + lwz r0,8(r1) mtlr r0 lmw r29,-12(r1) blr @@ -607,62 +640,56 @@ stmw r29,-12(r1) stw r0,8(r1) stwu r1,-80(r1) - bcl 20,31,L6$pb -L6$pb: + bcl 20,31,"L00000000006$pb" +"L00000000006$pb": mflr r31 bl L_term$stub mr r30,r3 - addis r9,r31,ha16(L_last_token$non_lazy_ptr-L6$pb) - lwz r9,lo16(L_last_token$non_lazy_ptr-L6$pb)(r9) - lwz r0,0(r9) - cmpwi cr0,r0,-1 - beq- cr0,L143 - addis r9,r31,ha16(L_last_token$non_lazy_ptr-L6$pb) - lwz r29,lo16(L_last_token$non_lazy_ptr-L6$pb)(r9) -L141: - lwz r0,0(r29) - cmpwi cr0,r0,42 - beq- cr0,L134 - bgt- cr0,L140 - cmpwi cr0,r0,37 - beq+ cr0,L136 - b L143 -L140: - cmpwi cr0,r0,47 - beq- cr0,L135 - cmpwi cr0,r0,94 - beq+ cr0,L137 - b L143 -L134: + addis r2,r31,ha16(L_last_token$non_lazy_ptr-"L00000000006$pb") + lwz r29,lo16(L_last_token$non_lazy_ptr-"L00000000006$pb")(r2) + b L164 +L151: + cmpwi cr7,r0,42 + beq cr7,L154 + bgt cr7,L157 + cmpwi cr7,r0,37 + bne cr7,L152 + b L153 +L157: + cmpwi cr7,r0,47 + beq cr7,L155 + cmpwi cr7,r0,94 + bne cr7,L152 + b L156 +L154: bl L_term$stub mullw r30,r30,r3 - b L130 -L135: + b L164 +L155: bl L_term$stub divw r30,r30,r3 - b L130 -L136: + b L164 +L153: bl L_term$stub divw r0,r30,r3 mullw r0,r0,r3 subf r30,r0,r30 - b L130 -L137: + b L164 +L156: bl L_term$stub xor r30,r30,r3 -L130: +L164: lwz r0,0(r29) - cmpwi cr0,r0,-1 - bne+ cr0,L141 -L143: + cmpwi cr7,r0,-1 + bne cr7,L151 +L152: mr r3,r30 - lwz r0,88(r1) addi r1,r1,80 + lwz r0,8(r1) mtlr r0 lmw r29,-12(r1) blr -.data -.cstring + .cstring .align 2 LC4: .ascii "Term expected\0" @@ -672,151 +699,144 @@ .align 2 LC6: .ascii "Unknown term\0" -.text + .text .align 2 _term: mflr r0 - stmw r30,-8(r1) + stmw r29,-12(r1) stw r0,8(r1) stwu r1,-80(r1) - bcl 20,31,L7$pb -L7$pb: + bcl 20,31,"L00000000007$pb" +"L00000000007$pb": mflr r31 li r0,-1 - addis r9,r31,ha16(L_lvalue$non_lazy_ptr-L7$pb) - lwz r9,lo16(L_lvalue$non_lazy_ptr-L7$pb)(r9) - stw r0,0(r9) + addis r2,r31,ha16(L_lvalue$non_lazy_ptr-"L00000000007$pb") + lwz r2,lo16(L_lvalue$non_lazy_ptr-"L00000000007$pb")(r2) + stw r0,0(r2) bl _token - addis r9,r31,ha16(L_last_token$non_lazy_ptr-L7$pb) - lwz r9,lo16(L_last_token$non_lazy_ptr-L7$pb)(r9) - lwz r0,0(r9) - cmpwi cr0,r0,-1 - bne+ cr0,L145 - addis r3,r31,ha16(LC4-L7$pb) - la r3,lo16(LC4-L7$pb)(r3) + addis r2,r31,ha16(L_last_token$non_lazy_ptr-"L00000000007$pb") + lwz r2,lo16(L_last_token$non_lazy_ptr-"L00000000007$pb")(r2) + lwz r0,0(r2) + cmpwi cr7,r0,-1 + bne cr7,L166 + addis r3,r31,ha16(LC4-"L00000000007$pb") + la r3,lo16(LC4-"L00000000007$pb")(r3) + bl _error +L166: + addis r2,r31,ha16(L_last_token$non_lazy_ptr-"L00000000007$pb") + lwz r2,lo16(L_last_token$non_lazy_ptr-"L00000000007$pb")(r2) + lwz r2,0(r2) + cmpwi cr7,r2,48 + beq cr7,L172 + bgt cr7,L174 + cmpwi cr7,r2,40 + beq cr7,L170 + cmpwi cr7,r2,45 + beq cr7,L171 + cmpwi cr7,r2,33 + beq cr7,L169 +L168: + bl _token + addis r3,r31,ha16(LC6-"L00000000007$pb") + la r3,lo16(LC6-"L00000000007$pb")(r3) bl _error -L145: - addis r9,r31,ha16(L_last_token$non_lazy_ptr-L7$pb) - lwz r9,lo16(L_last_token$non_lazy_ptr-L7$pb)(r9) - lwz r9,0(r9) - cmpwi cr0,r9,48 - beq- cr0,L147 - bgt- cr0,L155 - cmpwi cr0,r9,40 - beq- cr0,L151 - bgt- cr0,L156 - cmpwi cr0,r9,33 - beq- cr0,L150 - b L153 -L156: - cmpwi cr0,r9,45 - beq- cr0,L149 - b L153 -L155: - cmpwi cr0,r9,118 - beq- cr0,L148 - b L153 -L147: - addis r9,r31,ha16(L_value$non_lazy_ptr-L7$pb) - lwz r9,lo16(L_value$non_lazy_ptr-L7$pb)(r9) - lwz r30,0(r9) - b L152 -L148: - addis r9,r31,ha16(L_value$non_lazy_ptr-L7$pb) - lwz r9,lo16(L_value$non_lazy_ptr-L7$pb)(r9) - lwz r0,0(r9) - addis r9,r31,ha16(L_lvalue$non_lazy_ptr-L7$pb) - lwz r9,lo16(L_lvalue$non_lazy_ptr-L7$pb)(r9) - stw r0,0(r9) - mr r30,r0 + li r29,0 + b L175 +L174: + cmpwi cr7,r2,118 + bne cr7,L168 + b L173 +L172: + addis r2,r31,ha16(L_value$non_lazy_ptr-"L00000000007$pb") + lwz r2,lo16(L_value$non_lazy_ptr-"L00000000007$pb")(r2) + lwz r29,0(r2) + bl _token + b L175 +L173: + addis r2,r31,ha16(L_value$non_lazy_ptr-"L00000000007$pb") + lwz r2,lo16(L_value$non_lazy_ptr-"L00000000007$pb")(r2) + lwz r29,0(r2) + addis r2,r31,ha16(L_lvalue$non_lazy_ptr-"L00000000007$pb") + lwz r2,lo16(L_lvalue$non_lazy_ptr-"L00000000007$pb")(r2) + stw r29,0(r2) bl _token - slwi r0,r30,2 - addis r9,r31,ha16(L_variable$non_lazy_ptr-L7$pb) - lwz r9,lo16(L_variable$non_lazy_ptr-L7$pb)(r9) - lwzx r0,r9,r0 - b L144 -L149: + slwi r29,r29,2 + addis r2,r31,ha16(L_variable$non_lazy_ptr-"L00000000007$pb") + lwz r2,lo16(L_variable$non_lazy_ptr-"L00000000007$pb")(r2) + lwzx r29,r29,r2 + b L175 +L171: bl _term - neg r0,r3 - b L144 -L150: + neg r29,r3 + b L175 +L169: bl _term - subfic r9,r3,0 - adde r0,r9,r3 - b L144 -L151: + subfic r0,r3,0 + adde r29,r0,r3 + b L175 +L170: bl _expr - mr r30,r3 - addis r9,r31,ha16(L_last_token$non_lazy_ptr-L7$pb) - lwz r9,lo16(L_last_token$non_lazy_ptr-L7$pb)(r9) - lwz r0,0(r9) - cmpwi cr0,r0,41 - beq- cr0,L152 - addis r3,r31,ha16(LC5-L7$pb) - la r3,lo16(LC5-L7$pb)(r3) + mr r29,r3 + addis r2,r31,ha16(L_last_token$non_lazy_ptr-"L00000000007$pb") + lwz r2,lo16(L_last_token$non_lazy_ptr-"L00000000007$pb")(r2) + lwz r0,0(r2) + cmpwi cr7,r0,41 + beq cr7,L176 + addis r3,r31,ha16(LC5-"L00000000007$pb") + la r3,lo16(LC5-"L00000000007$pb")(r3) bl _error -L152: +L176: bl _token - mr r0,r30 - b L144 -L153: - bl _token - addis r3,r31,ha16(LC6-L7$pb) - la r3,lo16(LC6-L7$pb)(r3) - bl _error - li r0,0 -L144: - mr r3,r0 - lwz r0,88(r1) +L175: + mr r3,r29 addi r1,r1,80 + lwz r0,8(r1) mtlr r0 - lmw r30,-8(r1) + lmw r29,-12(r1) blr -.data -.cstring + .cstring .align 2 LC7: .ascii "%s = 0x%08x = %d\12\0" -.text + .text .align 2 .globl _main _main: mflr r0 - stmw r28,-16(r1) + stmw r26,-24(r1) stw r0,8(r1) - stwu r1,-1104(r1) - bcl 20,31,L8$pb -L8$pb: + stwu r1,-1120(r1) + bcl 20,31,"L00000000008$pb" +"L00000000008$pb": mflr r31 - addis r29,r31,ha16(L___sF$non_lazy_ptr-L8$pb) - addis r9,r31,ha16(L_ptr$non_lazy_ptr-L8$pb) - lwz r28,lo16(L_ptr$non_lazy_ptr-L8$pb)(r9) - addi r30,r1,64 - b L158 -L161: - stw r30,0(r28) + addis r26,r31,ha16(L___sF$non_lazy_ptr-"L00000000008$pb") + addis r2,r31,ha16(L_ptr$non_lazy_ptr-"L00000000008$pb") + lwz r27,lo16(L_ptr$non_lazy_ptr-"L00000000008$pb")(r2) + addi r30,r1,56 + addis r28,r31,ha16(LC7-"L00000000008$pb") + lwz r29,lo16(L___sF$non_lazy_ptr-"L00000000008$pb")(r26) + b L180 +L181: + stw r30,0(r27) bl _expr mr r6,r3 - addis r3,r31,ha16(LC7-L8$pb) - la r3,lo16(LC7-L8$pb)(r3) + la r3,lo16(LC7-"L00000000008$pb")(r28) mr r4,r30 mr r5,r6 - bl L_printf$stub - lwz r3,lo16(L___sF$non_lazy_ptr-L8$pb)(r29) - addi r3,r3,88 + bl L_printf$LDBLStub$stub + addi r3,r29,88 bl L_fflush$stub -L158: - addi r3,r1,64 +L180: + addi r3,r1,56 li r4,1024 - lwz r5,lo16(L___sF$non_lazy_ptr-L8$pb)(r29) + lwz r5,lo16(L___sF$non_lazy_ptr-"L00000000008$pb")(r26) bl L_fgets$stub - cmpwi cr0,r3,0 - bne+ cr0,L161 - li r3,0 - lwz r0,1112(r1) - addi r1,r1,1104 + cmpwi cr7,r3,0 + bne cr7,L181 + addi r1,r1,1120 + lwz r0,8(r1) mtlr r0 - lmw r28,-16(r1) + lmw r26,-24(r1) blr .comm _ptr,4 .comm _last_ptr,4 @@ -824,159 +844,147 @@ .comm _lvalue,4 .comm _last_token,4 .comm _variable,192 -.data -.picsymbol_stub -L_fflush$stub: - .indirect_symbol _fflush - mflr r0 - bcl 20,31,L0$_fflush -L0$_fflush: - mflr r11 - addis r11,r11,ha16(L_fflush$lazy_ptr-L0$_fflush) - mtlr r0 - lwz r12,lo16(L_fflush$lazy_ptr-L0$_fflush)(r11) - mtctr r12 - addi r11,r11,lo16(L_fflush$lazy_ptr-L0$_fflush) - bctr -.data -.lazy_symbol_pointer -L_fflush$lazy_ptr: - .indirect_symbol _fflush - .long dyld_stub_binding_helper -.data -.picsymbol_stub -L_printf$stub: - .indirect_symbol _printf - mflr r0 - bcl 20,31,L0$_printf -L0$_printf: - mflr r11 - addis r11,r11,ha16(L_printf$lazy_ptr-L0$_printf) - mtlr r0 - lwz r12,lo16(L_printf$lazy_ptr-L0$_printf)(r11) - mtctr r12 - addi r11,r11,lo16(L_printf$lazy_ptr-L0$_printf) - bctr -.data -.lazy_symbol_pointer -L_printf$lazy_ptr: - .indirect_symbol _printf - .long dyld_stub_binding_helper -.data -.picsymbol_stub + .section __TEXT,__picsymbolstub1,symbol_stubs,pure_instructions,32 + .align 5 L_fgets$stub: .indirect_symbol _fgets mflr r0 - bcl 20,31,L0$_fgets -L0$_fgets: + bcl 20,31,"L00000000001$spb" +"L00000000001$spb": mflr r11 - addis r11,r11,ha16(L_fgets$lazy_ptr-L0$_fgets) + addis r11,r11,ha16(L_fgets$lazy_ptr-"L00000000001$spb") mtlr r0 - lwz r12,lo16(L_fgets$lazy_ptr-L0$_fgets)(r11) + lwzu r12,lo16(L_fgets$lazy_ptr-"L00000000001$spb")(r11) mtctr r12 - addi r11,r11,lo16(L_fgets$lazy_ptr-L0$_fgets) bctr -.data -.lazy_symbol_pointer + .lazy_symbol_pointer L_fgets$lazy_ptr: .indirect_symbol _fgets - .long dyld_stub_binding_helper -.data -.picsymbol_stub + .long dyld_stub_binding_helper + .section __TEXT,__picsymbolstub1,symbol_stubs,pure_instructions,32 + .align 5 +L_printf$LDBLStub$stub: + .indirect_symbol _printf$LDBLStub + mflr r0 + bcl 20,31,"L00000000002$spb" +"L00000000002$spb": + mflr r11 + addis r11,r11,ha16(L_printf$LDBLStub$lazy_ptr-"L00000000002$spb") + mtlr r0 + lwzu r12,lo16(L_printf$LDBLStub$lazy_ptr-"L00000000002$spb")(r11) + mtctr r12 + bctr + .lazy_symbol_pointer +L_printf$LDBLStub$lazy_ptr: + .indirect_symbol _printf$LDBLStub + .long dyld_stub_binding_helper + .section __TEXT,__picsymbolstub1,symbol_stubs,pure_instructions,32 + .align 5 L_term$stub: .indirect_symbol _term mflr r0 - bcl 20,31,L0$_term -L0$_term: + bcl 20,31,"L00000000003$spb" +"L00000000003$spb": mflr r11 - addis r11,r11,ha16(L_term$lazy_ptr-L0$_term) + addis r11,r11,ha16(L_term$lazy_ptr-"L00000000003$spb") mtlr r0 - lwz r12,lo16(L_term$lazy_ptr-L0$_term)(r11) + lwzu r12,lo16(L_term$lazy_ptr-"L00000000003$spb")(r11) mtctr r12 - addi r11,r11,lo16(L_term$lazy_ptr-L0$_term) bctr -.data -.lazy_symbol_pointer + .lazy_symbol_pointer L_term$lazy_ptr: .indirect_symbol _term - .long dyld_stub_binding_helper -.data -.picsymbol_stub + .long dyld_stub_binding_helper + .non_lazy_symbol_pointer +L_ptr$non_lazy_ptr: + .indirect_symbol _ptr + .long 0 +L_last_ptr$non_lazy_ptr: + .indirect_symbol _last_ptr + .long 0 + .section __TEXT,__picsymbolstub1,symbol_stubs,pure_instructions,32 + .align 5 L_mexpr$stub: .indirect_symbol _mexpr mflr r0 - bcl 20,31,L0$_mexpr -L0$_mexpr: + bcl 20,31,"L00000000004$spb" +"L00000000004$spb": mflr r11 - addis r11,r11,ha16(L_mexpr$lazy_ptr-L0$_mexpr) + addis r11,r11,ha16(L_mexpr$lazy_ptr-"L00000000004$spb") mtlr r0 - lwz r12,lo16(L_mexpr$lazy_ptr-L0$_mexpr)(r11) + lwzu r12,lo16(L_mexpr$lazy_ptr-"L00000000004$spb")(r11) mtctr r12 - addi r11,r11,lo16(L_mexpr$lazy_ptr-L0$_mexpr) bctr -.data -.lazy_symbol_pointer + .lazy_symbol_pointer L_mexpr$lazy_ptr: .indirect_symbol _mexpr - .long dyld_stub_binding_helper -.data -.picsymbol_stub + .long dyld_stub_binding_helper + .non_lazy_symbol_pointer +L_lvalue$non_lazy_ptr: + .indirect_symbol _lvalue + .long 0 + .section __TEXT,__picsymbolstub1,symbol_stubs,pure_instructions,32 + .align 5 L_aexpr$stub: .indirect_symbol _aexpr mflr r0 - bcl 20,31,L0$_aexpr -L0$_aexpr: + bcl 20,31,"L00000000005$spb" +"L00000000005$spb": mflr r11 - addis r11,r11,ha16(L_aexpr$lazy_ptr-L0$_aexpr) + addis r11,r11,ha16(L_aexpr$lazy_ptr-"L00000000005$spb") mtlr r0 - lwz r12,lo16(L_aexpr$lazy_ptr-L0$_aexpr)(r11) + lwzu r12,lo16(L_aexpr$lazy_ptr-"L00000000005$spb")(r11) mtctr r12 - addi r11,r11,lo16(L_aexpr$lazy_ptr-L0$_aexpr) bctr -.data -.lazy_symbol_pointer + .lazy_symbol_pointer L_aexpr$lazy_ptr: .indirect_symbol _aexpr - .long dyld_stub_binding_helper -.data -.picsymbol_stub -L_fprintf$stub: - .indirect_symbol _fprintf - mflr r0 - bcl 20,31,L0$_fprintf -L0$_fprintf: - mflr r11 - addis r11,r11,ha16(L_fprintf$lazy_ptr-L0$_fprintf) - mtlr r0 - lwz r12,lo16(L_fprintf$lazy_ptr-L0$_fprintf)(r11) - mtctr r12 - addi r11,r11,lo16(L_fprintf$lazy_ptr-L0$_fprintf) - bctr -.data -.lazy_symbol_pointer -L_fprintf$lazy_ptr: - .indirect_symbol _fprintf - .long dyld_stub_binding_helper -.data -.non_lazy_symbol_pointer + .long dyld_stub_binding_helper + .non_lazy_symbol_pointer +L_value$non_lazy_ptr: + .indirect_symbol _value + .long 0 L_variable$non_lazy_ptr: .indirect_symbol _variable .long 0 -L_lvalue$non_lazy_ptr: - .indirect_symbol _lvalue - .long 0 -L_value$non_lazy_ptr: - .indirect_symbol _value +L_last_token$non_lazy_ptr: + .indirect_symbol _last_token .long 0 L___sF$non_lazy_ptr: .indirect_symbol ___sF .long 0 -L_last_token$non_lazy_ptr: - .indirect_symbol _last_token - .long 0 -L_last_ptr$non_lazy_ptr: - .indirect_symbol _last_ptr - .long 0 -L_ptr$non_lazy_ptr: - .indirect_symbol _ptr - .long 0 + .section __TEXT,__picsymbolstub1,symbol_stubs,pure_instructions,32 + .align 5 +L_fflush$stub: + .indirect_symbol _fflush + mflr r0 + bcl 20,31,"L00000000006$spb" +"L00000000006$spb": + mflr r11 + addis r11,r11,ha16(L_fflush$lazy_ptr-"L00000000006$spb") + mtlr r0 + lwzu r12,lo16(L_fflush$lazy_ptr-"L00000000006$spb")(r11) + mtctr r12 + bctr + .lazy_symbol_pointer +L_fflush$lazy_ptr: + .indirect_symbol _fflush + .long dyld_stub_binding_helper + .section __TEXT,__picsymbolstub1,symbol_stubs,pure_instructions,32 + .align 5 +L_fprintf$LDBLStub$stub: + .indirect_symbol _fprintf$LDBLStub + mflr r0 + bcl 20,31,"L00000000007$spb" +"L00000000007$spb": + mflr r11 + addis r11,r11,ha16(L_fprintf$LDBLStub$lazy_ptr-"L00000000007$spb") + mtlr r0 + lwzu r12,lo16(L_fprintf$LDBLStub$lazy_ptr-"L00000000007$spb")(r11) + mtctr r12 + bctr + .lazy_symbol_pointer +L_fprintf$LDBLStub$lazy_ptr: + .indirect_symbol _fprintf$LDBLStub + .long dyld_stub_binding_helper + .subsections_via_symbols