Menezes, Evandro - RE: [PATCH] Allow cmpxchg16b even with -march=core2 (original) (raw)

This is the mail archive of the gcc-patches@gcc.gnu.orgmailing 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]

Jakub,

Given that CMPXCHG16 presence is indicated by CPUID and no currently existing AMD processor moniker exists in GCC that could be used to make it implicit, I'd suggest adding an -m option to indicate this feature.

Not even amdfam10 (noticed in the latest patches it wasn't setting PTA_CX16)? I guess -mcx16 wouldn't hurt though.

Yes, it can be assumed in amdfam10, but I didn't count it as current yet. ;-)

But -mcx16 would be cool.

Thanks,


Evandro Menezes GNU Tools Team 512-602-9940 Advanced Micro Devices evandro.menezes@amd.com Austin, TX


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