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]

Re: Patch to remove x86 FP operations which allowed integers


On Mon, Mar 29, 1999 at 03:27:27AM -0500, John Wehle wrote:
> This patch removes the FP compare, add, subtract, multiply, and
> divide patterns which allowed integer operands since:
> 
>   1) The "Intel Architecture Optimization Manual" recommends against
>      their use.
> 
>   2) A move is performed behind the scenes when an i386 register
>      is the source of the integer operand.  This interferes with
>      scheduling.

This is fine. 

Alternately, you could fall back to memory_operand on all the inputs
and make the patterns dependant on optimize_space.


r~


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