In thumb2 we now generate a NEGS instruction rather than RSBS, so this
test needs updating.
* gcc.target/arm/negdi-3.c: Update expected output to allow NEGS.
From-SVN: r277192
+2019-10-18 Richard Earnshaw <rearnsha@arm.com>
+
+ * gcc.target/arm/negdi-3.c: Update expected output to allow NEGS.
+
2019-10-18 Richard Earnshaw <rearnsha@arm.com>
* gcc.dg/builtin-arith-overflow-3.c: New test.
}
/*
Expected output:
- rsbs r0, r0, #0
+ rsbs r0, r0, #0 (arm) | negs r0, r0 (thumb2)
sbc r1, r1, r1
*/
-/* { dg-final { scan-assembler-times "rsb" 1 } } */
+/* { dg-final { scan-assembler-times "rsbs|negs" 1 } } */
/* { dg-final { scan-assembler-times "sbc" 1 } } */
/* { dg-final { scan-assembler-times "mov" 0 } } */
/* { dg-final { scan-assembler-times "rsc" 0 } } */