[PATCH i386] Introduce __readeflags () and __writeeflags () intrinsics.

H.J. Lu hjl.tools@gmail.com
Wed Dec 4 18:08:00 GMT 2013


On Wed, Dec 4, 2013 at 9:58 AM, Kirill Yukhin <kirill.yukhin@gmail.com> wrote:
> Hello,
> On 04 Dec 19:59, Kirill Yukhin wrote:
>> So, is it ok for trunk?
>
> Small correction. I think it is better to use
> popfql/pushfql instead of popf/pushf (however they're
> encoded equally).
>

If you define the proper type, you can use pushf/pop
and push/popf in the same readeflags/writeflags
implementation for -m32/-mx32/-m64.


-- 
H.J.



More information about the Gcc-patches mailing list