Fix unrecognised GCN instruction.
authorAndrew Stubbs <ams@codesourcery.com>
Fri, 6 Dec 2019 17:49:47 +0000 (17:49 +0000)
committerAndrew Stubbs <ams@gcc.gnu.org>
Fri, 6 Dec 2019 17:49:47 +0000 (17:49 +0000)
2019-12-06  Andrew Stubbs  <ams@codesourcery.com>

gcc/
* config/gcn/gcn-valu.md (gather<mode>_insn_1offset<exec>): Use %o
in the asm output.

From-SVN: r279055

gcc/ChangeLog
gcc/config/gcn/gcn-valu.md

index 7ece55f5d4bd0451caf201e4d740cbc15818cddd..a1ce8e2ce2fe9dec9f1effc0b3b6b80f2b1c5667 100644 (file)
@@ -1,3 +1,8 @@
+2019-12-06  Andrew Stubbs  <ams@codesourcery.com>
+
+       * config/gcn/gcn-valu.md (gather<mode>_insn_1offset<exec>): Use %o
+       in the asm output.
+
 2019-12-06  Andrew Stubbs  <ams@codesourcery.com>
 
        * config/gcn/gcn-valu.md (VEC_1REG_MODE): Remove V64QI and V64HI.
index 90f0dcf310636c9cf578ae62849b0194a059d7d3..95e0731a3741d6f65e3f572eeda8df71fa75b508 100644 (file)
     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\;"