diff options
author | Claudiu Zissulescu <claziss@synopsys.com> | 2021-05-10 09:49:35 +0300 |
---|---|---|
committer | Claudiu Zissulescu <claziss@synopsys.com> | 2021-05-10 09:49:53 +0300 |
commit | 0c2f8805fad50a95099ed19955866c777e397f3c (patch) | |
tree | 443f93f37397701c5a2095a885c2963f05cbb2fd /gcc | |
parent | 89c94716241e2ba9cb42f512103528d0df6b0f3f (diff) | |
download | gcc-0c2f8805fad50a95099ed19955866c777e397f3c.zip gcc-0c2f8805fad50a95099ed19955866c777e397f3c.tar.gz gcc-0c2f8805fad50a95099ed19955866c777e397f3c.tar.bz2 |
arc: Disable movmisalign patterns when aligned access is required
Disable movmisalign patterns when aligned access is required.
gcc/
2021-05-10 Claudiu Zissulescu <claziss@synopsys.com>
* config/arc/simdext.md (movmisalignv2hi): Allow misaligned access
only when munaligned-access option is on.
(movmisalign<mode>): Likewise.
Signed-off-by: Claudiu Zissulescu <claziss@synopsys.com>
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/arc/simdext.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/arc/simdext.md b/gcc/config/arc/simdext.md index f090075..d142aac 100644 --- a/gcc/config/arc/simdext.md +++ b/gcc/config/arc/simdext.md @@ -1382,7 +1382,7 @@ (define_expand "movmisalignv2hi" [(set (match_operand:V2HI 0 "general_operand" "") (match_operand:V2HI 1 "general_operand" ""))] - "" + "unaligned_access" "{ if (prepare_move_operands (operands, V2HImode)) DONE; @@ -1441,7 +1441,7 @@ (define_expand "movmisalign<mode>" [(set (match_operand:VWH 0 "general_operand" "") (match_operand:VWH 1 "general_operand" ""))] - "" + "unaligned_access" "{ if (prepare_move_operands (operands, <MODE>mode)) DONE; |