http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56027
Marc Glisse changed:
What|Removed |Added
Status|WAITING |RESOLVED
Resolution|
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)
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
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
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56027
Richard Biener changed:
What|Removed |Added
Status|UNCONFIRMED |WAITING
Last reconfirmed|