[Bug target/56027] ldmxcsr permuted with asm

2013-01-18 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56027 Marc Glisse changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|

[Bug target/56027] ldmxcsr permuted with asm

2013-01-18 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56027 --- Comment #4 from Marc Glisse 2013-01-18 12:08:52 UTC --- (In reply to comment #3) > > I am mostly wondering what guarantees I have there won't be re-ordering. > > *mxcsr > > are unspec_volatile and thus can commute with asm (register)

[Bug target/56027] ldmxcsr permuted with asm

2013-01-18 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56027 --- Comment #3 from Richard Biener 2013-01-18 11:49:27 UTC --- (In reply to comment #2) > (In reply to comment #1) > > I think you want a pass-thru: > > > > #define opaque(x) __asm volatile ("# x" : "=g" (x) : "0" (x)) > > (opaque re

[Bug target/56027] ldmxcsr permuted with asm

2013-01-18 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56027 --- Comment #2 from Marc Glisse 2013-01-18 11:14:53 UTC --- (In reply to comment #1) > I think you want a pass-thru: > > #define opaque(x) __asm volatile ("# x" : "=g" (x) : "0" (x)) (opaque returns a value in my example, but that's a

[Bug target/56027] ldmxcsr permuted with asm

2013-01-18 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56027 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|