;; Push a register onto the stack
(define_insn "movsi_push"
[(set:SI (mem:SI (pre_dec:SI (reg:SI 15)))
- (match_operand:SI 0 "register_operand" "a"))]
+ (match_operand:SI 0 "register_operand" "a"))]
""
"st %0, @-r15"
)
;; Pop a register off the stack
(define_insn "movsi_pop"
[(set:SI (match_operand:SI 0 "register_operand" "=a")
- (mem:SI (post_inc:SI (reg:SI 15))))]
+ (mem:SI (post_inc:SI (reg:SI 15))))]
""
"ld @r15+, %0"
)