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: more tidying of x86 feature tests


Richard Henderson wrote:

+  /* ??? Any idea why this is unconditionally disabled for 64-bit?  */
+  if (TARGET_64BIT)
+    TARGET_USE_SAHF = 0;

IIRC, early x86_64 ISA draft didn't have SAHF and some prototypes didn't handle this insn.


At least for AMD, there is no need to disable this, as sahf is DirectPath latency 1 insn.

Uros.



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