optab handler for floating point to interger "fix" is not generated

Segher Boessenkool segher@kernel.crashing.org
Tue Nov 25 20:38:00 GMT 2014


On Tue, Nov 25, 2014 at 10:45:06AM -0800, David Kang wrote:
>  Is the logical operators described similarly?
> I tried "seqf2", "cmpseqf2", and "one_cmplseqf2" for "eq" of two floating point numbers as it is shown below.
> But none of them work.
> 
> (define_expand "seqf2"     
>   [(set (match_operand:SI 0 "register_operand" "")  
>          (eq:SI (match_operand:SF 1 "register_operand" "")  
>                 (match_operand:SF 2 "register_operand" "")))] 

This is done via cstoresf4.  Please see the `gccint' manual, available
online or via e.g. `make pdf'; or read gcc/doc/md.texi directly.


Segher



More information about the Gcc mailing list