emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/alloca.s


From: Miles Bader
Subject: [Emacs-diffs] Changes to emacs/src/alloca.s
Date: Fri, 04 Apr 2003 01:23:46 -0500

Index: emacs/src/alloca.s
diff -c emacs/src/alloca.s:1.4 emacs/src/alloca.s:1.5
*** emacs/src/alloca.s:1.4      Mon Jan 29 17:19:58 1996
--- emacs/src/alloca.s  Tue Feb  4 09:03:11 2003
***************
*** 59,65 ****
        data
        text
        globl   _alloca
! _alloca       
        move.l  (sp)+,a0        ; pop return addr from top of stack
        move.l  (sp)+,d0        ; pop size in bytes from top of stack
        add.l   #ROUND,d0       ; round size up to long word
--- 59,65 ----
        data
        text
        globl   _alloca
! _alloca
        move.l  (sp)+,a0        ; pop return addr from top of stack
        move.l  (sp)+,d0        ; pop size in bytes from top of stack
        add.l   #ROUND,d0       ; round size up to long word
***************
*** 112,118 ****
  alloca:
  #ifdef MOTOROLA_DELTA
  /* slightly modified version of alloca to motorola sysV/68 pcc - based
!    compiler. 
     this compiler saves used registers relative to %sp instead of %fp.
     alright, just make new copy of saved register set whenever we allocate
     new space from stack..
--- 112,118 ----
  alloca:
  #ifdef MOTOROLA_DELTA
  /* slightly modified version of alloca to motorola sysV/68 pcc - based
!    compiler.
     this compiler saves used registers relative to %sp instead of %fp.
     alright, just make new copy of saved register set whenever we allocate
     new space from stack..
***************
*** 251,259 ****
   * We have to copy registers, and therefore waste 32 bytes.
   *
   * Stack layout:
!  * new        sp ->   junk    
   *            registers (copy)
!  *    r0 ->   new data                
   *             |        (orig retval)
   *             |        (orig arg)
   * old  sp -> regs      (orig)
--- 251,259 ----
   * We have to copy registers, and therefore waste 32 bytes.
   *
   * Stack layout:
!  * new        sp ->   junk
   *            registers (copy)
!  *    r0 ->   new data
   *             |        (orig retval)
   *             |        (orig arg)
   * old  sp -> regs      (orig)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]