aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2020-02-06 17:32:00 +0000
committerRichard Sandiford <richard.sandiford@arm.com>2020-02-06 18:09:44 +0000
commit1ccdd460d1033f7e9158b1c6adfe208f315d1300 (patch)
tree83cfaf26b3006650a92e0a8e01844920f4e4fa8d /gcc
parent72b2f3317b4484b25e9a6cc3fd12e7f8c893fb56 (diff)
downloadgcc-1ccdd460d1033f7e9158b1c6adfe208f315d1300.zip
gcc-1ccdd460d1033f7e9158b1c6adfe208f315d1300.tar.gz
gcc-1ccdd460d1033f7e9158b1c6adfe208f315d1300.tar.bz2
aarch64: Add a type attribute to aarch64_movk<mode>
Kyrill pointed out off-list that this new pattern was missing a type attribute. 2020-02-06 Richard Sandiford <richard.sandiford@arm.com> gcc/ * config/aarch64/aarch64.md (aarch64_movk<mode>): Add a type attribute.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/aarch64/aarch64.md1
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index db03bf1..1754aa7 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2020-02-06 Richard Sandiford <richard.sandiford@arm.com>
+
+ * config/aarch64/aarch64.md (aarch64_movk<mode>): Add a type
+ attribute.
+
2020-02-06 Segher Boessenkool <segher@kernel.crashing.org>
* config/rs6000/rs6000.c (rs6000_emit_set_long_const): Handle the case
diff --git a/gcc/config/aarch64/aarch64.md b/gcc/config/aarch64/aarch64.md
index 9c1f17d..fbf90d9 100644
--- a/gcc/config/aarch64/aarch64.md
+++ b/gcc/config/aarch64/aarch64.md
@@ -1297,6 +1297,7 @@
operands[3] = gen_int_mode (shift, SImode);
return "movk\\t%<w>0, #%X2, lsl %3";
}
+ [(set_attr "type" "mov_imm")]
)
(define_expand "movti"