]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/config/rs6000/sync.md
Step 1 of VSX changes: Powerpc infrstructure changes
[thirdparty/gcc.git] / gcc / config / rs6000 / sync.md
index 9d1ef9b580f1d9d025dffb67f0c8367935aa7c34..f6cc91d3d56add23b3c0bb4faf73057982cb2e48 100644 (file)
   if (TARGET_NO_LWSYNC)
     return "sync";
   else
-    return ".long 0x7c2004ac";
+    return (TARGET_LWSYNC_INSTRUCTION) ? "lwsync" : ".long 0x7c2004ac";
 }
   [(set_attr "type" "sync")])