+2013-09-10 Alan Modra <amodra@gmail.com>
+
+ PR target/58330
+ * config/rs6000/rs6000.md (bswapdi2_64bit): Disable for volatile mems.
+
2013-09-10 Alan Modra <amodra@gmail.com>
* config/rs6000/predicates.md (add_cint_operand): New.
(clobber (match_scratch:DI 3 "=&r,&r,&r"))
(clobber (match_scratch:DI 4 "=&r,X,&r"))]
"TARGET_POWERPC64 && !TARGET_LDBRX
- && (REG_P (operands[0]) || REG_P (operands[1]))"
+ && (REG_P (operands[0]) || REG_P (operands[1]))
+ && !(MEM_P (operands[0]) && MEM_VOLATILE_P (operands[0]))
+ && !(MEM_P (operands[1]) && MEM_VOLATILE_P (operands[1]))"
"#"
[(set_attr "length" "16,12,36")])
+2013-09-10 Alan Modra <amodra@gmail.com>
+
+ * gcc.target/powerpc/pr58330.c: New.
+
2013-09-10 Alan Modra <amodra@gmail.com>
* gcc.target/powerpc/medium_offset.c: New.