summaryrefslogtreecommitdiff
path: root/gcc/config/rx/rx.md
diff options
context:
space:
mode:
authornickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>2013-05-29 16:29:15 +0000
committernickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>2013-05-29 16:29:15 +0000
commitf0964309ca72e652be86bbfc4375822a8572939a (patch)
tree90e286ce570607f264b04bdd31045ee5c131ef5d /gcc/config/rx/rx.md
parent259c15e611086969ef7ffc1a7328a60dd57b4e3d (diff)
downloadgcc-f0964309ca72e652be86bbfc4375822a8572939a.tar.gz
* rx/rx.h (TARGET_CPU_CPP_BUILTINS): Add macros for RX100, RX200,
and RX600. * rx/rx.opt: Add macro for rx100 with string rx100 and value RX100. * rx/rx-opts.h (rx_cpu_types): Add new cpu type rx100. * rx/t-rx: Add rx100 under multi library matches option for nofpu option. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199417 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/rx/rx.md')
-rw-r--r--gcc/config/rx/rx.md20
1 files changed, 19 insertions, 1 deletions
diff --git a/gcc/config/rx/rx.md b/gcc/config/rx/rx.md
index 3a95567a43f..692b7d220a3 100644
--- a/gcc/config/rx/rx.md
+++ b/gcc/config/rx/rx.md
@@ -30,7 +30,7 @@
;; then all operations on doubles have to be handled by
;; library functions.
(define_mode_iterator register_modes
- [(SF "ALLOW_RX_FPU_INSNS") (SI "") (HI "") (QI "")])
+ [(SF "") (SI "") (HI "") (QI "")])
(define_constants
[
@@ -2621,3 +2621,21 @@
""
""
)
+
+(define_insn "movdi"
+ [(set:DI (match_operand:DI 0 "nonimmediate_operand" "=rm")
+ (match_operand:DI 1 "general_operand" "rmi"))]
+ "TARGET_ENABLE_LRA || 1"
+ { return rx_gen_move_template (operands, false); }
+ [(set_attr "length" "16")
+ (set_attr "timings" "22")]
+)
+
+(define_insn "movdf"
+ [(set:DF (match_operand:DF 0 "nonimmediate_operand" "=rm")
+ (match_operand:DF 1 "general_operand" "rmi"))]
+ "TARGET_ENABLE_LRA || 1"
+ { return rx_gen_move_template (operands, false); }
+ [(set_attr "length" "16")
+ (set_attr "timings" "22")]
+)