Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Diff of /sml/trunk/src/runtime/mach-dep/PPC.prim.asm
ViewVC logotype

Diff of /sml/trunk/src/runtime/mach-dep/PPC.prim.asm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1263, Tue Aug 6 14:02:48 2002 UTC revision 1264, Fri Sep 20 20:41:13 2002 UTC
# Line 340  Line 340 
340  #if defined(USE_TOC)  #if defined(USE_TOC)
341          lwz     r0,T.saveregs(2)          lwz     r0,T.saveregs(2)
342  #else  #else
343    #ifdef BROKEN_CODE
344          lis     r28, HI(CSYM(saveregs)) /* GPR0 <- addrof(saveregs) */          lis     r28, HI(CSYM(saveregs)) /* GPR0 <- addrof(saveregs) */
345          addi    r28, r28, LO(CSYM(saveregs))          addi    r28, r28, LO(CSYM(saveregs))
346          li      r0, 0          li      r0, 0
347          add     r0, r28, r0          add     r0, r28, r0
348    #else
349            lis     r11, HI(CSYM(saveregs)) /* GPR0 <- addrof(saveregs) */
350            addi    r11, r11, LO(CSYM(saveregs))
351            li      r0, 0
352            add     r0, r11, r0
353    #endif
354  #endif  #endif
355          stw     r3, MLSTATE_OFFSET(sp)          stw     r3, MLSTATE_OFFSET(sp)
356          stw     r0, STARTGC_OFFSET(sp)          stw     r0, STARTGC_OFFSET(sp)

Legend:
Removed from v.1263  
changed lines
  Added in v.1264

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0