[PATCH] m32r's push and pop need PIPE_O attribute.

Kazuhiro Inaoka inaoka.kazuhiro@renesas.com
Fri Jun 13 07:26:00 GMT 2003


Hello

M32Rx's push and pop instructions have PIPE_O attribute,
but there was specified no PIPE attribute.

Regards,
Kazuhiro Inaoka

cgen/ChangeLog
2003-06-13  Kazuhiro Inaoka <inaoka dot kazuhiro at renesas dot com>

    * cpu/m32r.cpu: push and pop need PIPE_O attribute.

*** m32r.cpu.org Fri Jun 13 15:36:32 2003
--- m32r.cpu Fri Jun 13 15:50:25 2003
***************
*** 1182,1188 ****
  )
  
  (dnmi pop "pop"
!       ()
        "pop $dr"
        (emit ld-plus dr (sr 15)) ; "ld %0,@sp+"
  )
--- 1182,1188 ----
  )
  
  (dnmi pop "pop"
!       ((PIPE O))
        "pop $dr"
        (emit ld-plus dr (sr 15)) ; "ld %0,@sp+"
  )
***************
*** 1857,1863 ****
        )
  )
  
! (dnmi push "push" ()
    "push $src1"
    (emit st-minus src1 (src2 15)) ; "st %0,@-sp"
  )
--- 1857,1864 ----
        )
  )
  
! (dnmi push "push"
!   ((PIPE O))
    "push $src1"
    (emit st-minus src1 (src2 15)) ; "st %0,@-sp"
  )



More information about the Cgen mailing list