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: [PATCH] fix built in drem() and fmod() for !TARGET_USE_SAHF case


Hi Uros!

Attached to this message, please find a patch which fixes drem() and fmod() built-ins for !TARGET_USE_SAHF case. Attached patch is tested on i686-pc-linux-gnu, and should work for x86_64 architecture. This patch will use 'sahf' or 'testb $04, %ah', depending on preferred instruction for selected architecture.

This fixes the ICE for me, thanks!


Cheers,
  Martin


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