This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: builtin fe[gs]etround


On Mon, 24 Feb 2014, Richard Biener wrote:

Well, your asm cannot modify it as you don't have a use or clobber for FP
state (but there isn't any...).

Ah, right, I was focusing on "volatile" and forgot there is no "memory"
clobber in those asms, cool, that may simplify things a lot.

Also I think the 'volatile' in the asms isn't needed.

Right, I had it because of PR 56027 where we don't use fesetround but
the SSE intrinsics. But according to your comment #3 there, volatile is
needed even with fesetround.

--
Marc Glisse


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]