diff options
author | Darius Galis <darius.galis@cyberthorstudios.com> | 2020-01-26 09:52:56 -0700 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 2020-01-26 09:53:24 -0700 |
commit | 0f6f39ed733e9462dbeef9dd56d52b21b8cd67c5 (patch) | |
tree | b9f014487fdc6e8be3c405267f02f35dfa7f0b84 /gcc/config/rx | |
parent | a9947bac0799b0c91e21b7c612b80cd0b54016f0 (diff) | |
download | gcc-0f6f39ed733e9462dbeef9dd56d52b21b8cd67c5.zip gcc-0f6f39ed733e9462dbeef9dd56d52b21b8cd67c5.tar.gz gcc-0f6f39ed733e9462dbeef9dd56d52b21b8cd67c5.tar.bz2 |
Avoid creating string insns unless string support is enabled
* config/rx/rx.md (setmemsi): Added rx_allow_string_insns constraint
(rx_setmem): Likewise.
Diffstat (limited to 'gcc/config/rx')
-rw-r--r-- | gcc/config/rx/rx.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/rx/rx.md b/gcc/config/rx/rx.md index e955571..0cf5025 100644 --- a/gcc/config/rx/rx.md +++ b/gcc/config/rx/rx.md @@ -2511,7 +2511,7 @@ (use (match_operand:SI 1 "nonmemory_operand")) ;; Length (match_operand 3 "immediate_operand") ;; Align (unspec_volatile:BLK [(reg:SI 1) (reg:SI 2) (reg:SI 3)] UNSPEC_SETMEM)] - "" + "rx_allow_string_insns" { rtx addr = gen_rtx_REG (SImode, 1); rtx val = gen_rtx_REG (QImode, 2); @@ -2530,7 +2530,7 @@ (unspec_volatile:BLK [(reg:SI 1) (reg:SI 2) (reg:SI 3)] UNSPEC_SETMEM)) (clobber (reg:SI 1)) (clobber (reg:SI 3))] - "" + "rx_allow_string_insns" "sstr.b" [(set_attr "length" "2") (set_attr "timings" "1111")] ;; The timing is a guesstimate. |