diff options
author | Sebastian Perta <sebastian.perta@renesas.com> | 2018-01-22 18:51:28 +0000 |
---|---|---|
committer | Sebastian Perta <sebastianperta@gcc.gnu.org> | 2018-01-22 18:51:28 +0000 |
commit | 99cc06ea069ea91ffb2fab663a2a67375d4b0304 (patch) | |
tree | e0779db8f7fae46349af2c8f952ec11f62c4c99e /gcc/config/rl78 | |
parent | 832f9cc71e8a932b4e4f73770fd6119182c117c5 (diff) | |
download | gcc-99cc06ea069ea91ffb2fab663a2a67375d4b0304.zip gcc-99cc06ea069ea91ffb2fab663a2a67375d4b0304.tar.gz gcc-99cc06ea069ea91ffb2fab663a2a67375d4b0304.tar.bz2 |
rl78.md: New define_expand "umindi3".
2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
* config/rl78/rl78.md: New define_expand "umindi3".
2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
* config/rl78/umindi3.S: New assembly file.
* config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
From-SVN: r256957
Diffstat (limited to 'gcc/config/rl78')
-rw-r--r-- | gcc/config/rl78/rl78.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/config/rl78/rl78.md b/gcc/config/rl78/rl78.md index f3201ff..a447f33 100644 --- a/gcc/config/rl78/rl78.md +++ b/gcc/config/rl78/rl78.md @@ -719,6 +719,16 @@ (set_attr "is_g13_muldiv_insn" "yes")] ) +(define_expand "umindi3" + [(set (match_operand:DI 0 "nonimmediate_operand" "") + (umin:DI (match_operand:DI 1 "general_operand" "") + (match_operand:DI 2 "general_operand" ""))) + ] + "optimize_size" + "rl78_emit_libcall (\"__umindi3\", UMIN, DImode, DImode, 3, operands); + DONE;" +) + (define_expand "umaxdi3" [(set (match_operand:DI 0 "nonimmediate_operand" "") (umax:DI (match_operand:DI 1 "general_operand" "") |