From: Andrew Stubbs Date: Fri, 6 Dec 2019 17:49:47 +0000 (+0000) Subject: Fix unrecognised GCN instruction. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1e8f5d49d791018310b9df540a3c19f7330351f6;p=gcc.git Fix unrecognised GCN instruction. 2019-12-06 Andrew Stubbs gcc/ * config/gcn/gcn-valu.md (gather_insn_1offset): Use %o in the asm output. From-SVN: r279055 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7ece55f5d4b..a1ce8e2ce2f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2019-12-06 Andrew Stubbs + + * config/gcn/gcn-valu.md (gather_insn_1offset): Use %o + in the asm output. + 2019-12-06 Andrew Stubbs * config/gcn/gcn-valu.md (VEC_1REG_MODE): Remove V64QI and V64HI. diff --git a/gcc/config/gcn/gcn-valu.md b/gcc/config/gcn/gcn-valu.md index 90f0dcf3106..95e0731a374 100644 --- a/gcc/config/gcn/gcn-valu.md +++ b/gcc/config/gcn/gcn-valu.md @@ -716,10 +716,10 @@ if (AS_FLAT_P (as)) { if (TARGET_GCN5_PLUS) - sprintf (buf, "flat_load%%s0\t%%0, %%1 offset:%%2%s\;s_waitcnt\t0", + sprintf (buf, "flat_load%%o0\t%%0, %%1 offset:%%2%s\;s_waitcnt\t0", glc); else - sprintf (buf, "flat_load%%s0\t%%0, %%1%s\;s_waitcnt\t0", glc); + sprintf (buf, "flat_load%%o0\t%%0, %%1%s\;s_waitcnt\t0", glc); } else if (AS_GLOBAL_P (as)) sprintf (buf, "global_load%%s0\t%%0, %%1, off offset:%%2%s\;"