+2019-02-11 Tamar Christina <tamar.christina@arm.com>
+
+ PR middle-end/88560
+ * gcc.target/arm/armv8_2-fp16-move-1.c: Update assembler scans.
+ * gcc.target/arm/fp16-aapcs-3.c: Likewise.
+ * gcc.target/arm/fp16-aapcs-1.c: Likewise.
+
2019-02-11 Bill Schmidt <wschmidt@linux.ibm.com>
* gcc.target/powerpc/vec-sld-modulo.c: New.
return a[i];
}
-/* { dg-final { scan-assembler-times {vld1\.16\t\{d[0-9]+\[[0-9]+\]\}, \[r[0-9]+\]} 2 } } */
void
test_store_1 (__fp16* a, __fp16 b)
a[i] = b;
}
-/* { dg-final { scan-assembler-times {vst1\.16\t\{d[0-9]+\[[0-9]+\]\}, \[r[0-9]+\]} 2 } } */
__fp16
test_load_store_1 (__fp16* a, int i, __fp16* b)
a[i] = b[i + 2];
return a[i];
}
-/* { dg-final { scan-assembler-times {ldrh\tr[0-9]+} 2 } } */
-/* { dg-final { scan-assembler-times {strh\tr[0-9]+} 2 } } */
+
+/* { dg-final { scan-assembler-times {vst1\.16\t\{d[0-9]+\[[0-9]+\]\}, \[r[0-9]+\]} 3 } } */
+/* { dg-final { scan-assembler-times {vld1\.16\t\{d[0-9]+\[[0-9]+\]\}, \[r[0-9]+\]} 3 } } */
__fp16
test_select_1 (int sel, __fp16 a, __fp16 b)
/* { dg-final { scan-assembler-times {vselgt\.f16\ts[0-9]+, s[0-9]+, s[0-9]+} 1 } } */
/* { dg-final { scan-assembler-times {vselge\.f16\ts[0-9]+, s[0-9]+, s[0-9]+} 1 } } */
-/* { dg-final { scan-assembler-times {vmov\.f16\ts[0-9]+, r[0-9]+} 2 } } */
+/* { dg-final { scan-assembler-not {vmov\.f16} } } */
int
test_compare_1 (__fp16 a, __fp16 b)
return c;
}
-/* { dg-final { scan-assembler {vmov(\.f16)?\tr[0-9]+, s[0-9]+} } } */
-/* { dg-final { scan-assembler {vmov(\.f32)?\ts1, s0} } } */
-/* { dg-final { scan-assembler {vmov(\.f16)?\ts0, r[0-9]+} } } */
+/* { dg-final { scan-assembler {vmov\.f32\ts[0-9]+, s1} } } */
+/* { dg-final { scan-assembler {vmov\.f32\ts1, s0} } } */
+/* { dg-final { scan-assembler {vmov\.f32\ts[0-9]+, s2+} } } */
+/* { dg-final { scan-assembler-times {vmov\.f32\ts0, s[0-9]+} 2 } } */
return c;
}
-/* { dg-final { scan-assembler-times {vmov\tr[0-9]+, s[0-2]} 2 } } */
-/* { dg-final { scan-assembler-times {vmov.f32\ts1, s0} 1 } } */
-/* { dg-final { scan-assembler-times {vmov\ts0, r[0-9]+} 2 } } */
+/* { dg-final { scan-assembler {vmov\.f32\ts[0-9]+, s1} } } */
+/* { dg-final { scan-assembler {vmov\.f32\ts1, s0} } } */
+/* { dg-final { scan-assembler {vmov\.f32\ts[0-9]+, s2+} } } */
+/* { dg-final { scan-assembler-times {vmov\.f32\ts0, s[0-9]+} 2 } } */
+