+2020-02-08 Andrew Pinski <apinski@marvell.com>
+
+ PR target/91927
+ * config/aarch64/aarch64-simd.md (movmisalign<mode>): Check
+ STRICT_ALIGNMENT also.
+
2020-02-08 Jim Wilson <jimw@sifive.com>
PR target/93532
(define_expand "movmisalign<mode>"
[(set (match_operand:VALL 0 "nonimmediate_operand")
(match_operand:VALL 1 "general_operand"))]
- "TARGET_SIMD"
+ "TARGET_SIMD && !STRICT_ALIGNMENT"
{
/* This pattern is not permitted to fail during expansion: if both arguments
are non-registers (e.g. memory := constant, which can be created by the
+2020-02-08 Andrew Pinski <apinski@marvel.com>
+
+ PR target/91927
+ * gcc.target/aarch64/pr91927.c: New testcase.
+
2020-02-08 Peter Bergner <bergner@linux.ibm.com>
PR target/93136
--- /dev/null
+/* { dg-do compile } */
+/* { dg-options "-mstrict-align -O3" } */
+
+#define NULL 0
+
+typedef unsigned uint32_t;
+typedef struct __attribute__((__packed__))
+{
+ uint32_t nTagID;
+ uint32_t nValueBufferSize;
+ uint32_t nValueLength;
+
+} PropertyTags_t;
+
+typedef struct
+{
+ char *szName;
+ uint32_t nBufferSize;
+ uint32_t nLength;
+
+} Something_t;
+
+void SetTag(PropertyTags_t *pTag, uint32_t nBufferSize, uint32_t nLength);
+
+void TestCase(Something_t *pSome, uint32_t nBufferSize, uint32_t nLength)
+{
+ if (pSome != NULL)
+ {
+ PropertyTags_t sTag = { 0 };
+
+ SetTag(&sTag, nBufferSize, nLength);
+
+ pSome->nBufferSize = sTag.nValueBufferSize;
+ pSome->nLength = sTag.nValueLength;
+ }
+}
+
+/* { dg-final { scan-assembler-not "ldr\td" } } */