We just needed to adjust the regex to accept Darwin's register names.
2019-06-24 Iain Sandoe <iain@sandoe.co.uk>
* gcc.target/powerpc/spec-barr-1.c: Adjust scan assembler regex
to recognise Darwin's register names.
From-SVN: r272626
+2019-06-24 Iain Sandoe <iain@sandoe.co.uk>
+
+ * gcc.target/powerpc/spec-barr-1.c: Adjust scan assembler regex
+ to recognise Darwin's register names.
+
2019-06-24 Iain Sandoe <iain@sandoe.co.uk>
* gcc.dg/cpp/isysroot-1.c: Use <example.h> as the test header.
__builtin_ppc_speculation_barrier ();
}
-/* { dg-final { scan-assembler "ori 31,31,0" } } */
+/* { dg-final { scan-assembler {ori\s+r?31,r?31,r?0} } } */