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, i386]: x87 fops can handle HImodes, too.


On Mon, Sep 13, 2004 at 04:22:40PM +0200, Uros Bizjak wrote:
>    [(set (match_operand:SF 0 "register_operand" "=f,f")
>  	(match_operator:SF 3 "binary_fp_operator"
> -	  [(float:SF (match_operand:SI 1 "nonimmediate_operand" "m,?r"))
> +	  [(float:SF (match_operand 1 "nonimmediate_operand" "m,?r"))
>  	   (match_operand:SF 2 "register_operand" "0,0")]))]
> -  "TARGET_80387 && TARGET_USE_FIOP && !TARGET_SSE_MATH"
> +  "TARGET_80387 && TARGET_USE_FIOP && !TARGET_SSE_MATH
> +   && (GET_MODE (operands[1]) == SImode || GET_MODE (operands[1]) == HImode)"

This will break in various ways during reload.


r~


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