diff options
author | dj <dj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-05-24 00:51:18 +0000 |
---|---|---|
committer | dj <dj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-05-24 00:51:18 +0000 |
commit | 8e9e525673c77233e2c80f1d73b3a0d7ff2e32ca (patch) | |
tree | 3099bf4e5e827a6e9afc602fa1d5dfea3c81e50d /gcc/config/m32c | |
parent | a8651e7dedc2d25d8c39483e8215f17453dcfb26 (diff) | |
download | gcc-8e9e525673c77233e2c80f1d73b3a0d7ff2e32ca.tar.gz |
* config/m32c/jump.md (untyped_call): Add.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@135843 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/m32c')
-rw-r--r-- | gcc/config/m32c/jump.md | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/gcc/config/m32c/jump.md b/gcc/config/m32c/jump.md index f5b185bebad..b9585c5d43f 100644 --- a/gcc/config/m32c/jump.md +++ b/gcc/config/m32c/jump.md @@ -111,3 +111,23 @@ switch (which_alternative) { }" [(set_attr "flags" "x,x,x")] ) + +(define_expand "untyped_call" + [(parallel [(call (match_operand 0 "" "") + (const_int 0)) + (match_operand 1 "" "") + (match_operand 2 "" "")])] + "" + " +{ + int i; + + emit_call_insn (gen_call (operands[0], const0_rtx, const0_rtx)); + + for (i = 0; i < XVECLEN (operands[2], 0); i++) + { + rtx set = XVECEXP (operands[2], 0, i); + emit_move_insn (SET_DEST (set), SET_SRC (set)); + } + DONE; +}") |