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]

two trivial fixes


Hi,
Two trivial unrealated fixes I am about to commit once bootstrap completes.
First one fixes the splitter designed to split integer register that is overactive
on SSE and second one cut&paste problem.

Wed May  9 12:02:22 CEST 2001  Jan Hubicka  <jh@suse.cz>
	* i386.md (movdi splitter): Fix the splitting condition
	(float_extenddftf splitter): Fix mode.

*** i386.md	Sun May  6 01:22:38 2001
--- /home/hubicka/x86-64/gcc/gcc/config/i386/i386.md	Wed May  9 09:55:21 2001
***************
*** 2495,2502 ****
  (define_split
    [(set (match_operand:DI 0 "nonimmediate_operand" "")
          (match_operand:DI 1 "general_operand" ""))]
!   "!TARGET_64BIT && reload_completed && ! MMX_REG_P (operands[0])
!    && ! MMX_REG_P (operands[1])"
    [(const_int 0)]
    "ix86_split_long_move (operands); DONE;")
  
--- 2497,2504 ----
  (define_split
    [(set (match_operand:DI 0 "nonimmediate_operand" "")
          (match_operand:DI 1 "general_operand" ""))]
!   "!TARGET_64BIT && reload_completed && GENERAL_REG_P (operands[0])
!    && GENERAL_REG_P (operands[1])"
    [(const_int 0)]
    "ix86_split_long_move (operands); DONE;")
  
***************
*** 4053,4059 ****
  	(float_extend:TF (match_operand:DF 1 "register_operand" "")))]
    "FP_REGNO_P (REGNO (operands[1])) && TARGET_64BIT"
    [(set (reg:DI 7) (plus:DI (reg:DI 7) (const_int -16)))
!    (set (mem:TF (reg:DI 7)) (float_extend:XF (match_dup 1)))])
  
  (define_expand "extendsfdf2"
    [(set (match_operand:DF 0 "nonimmediate_operand" "")
--- 4055,4061 ----
  	(float_extend:TF (match_operand:DF 1 "register_operand" "")))]
    "FP_REGNO_P (REGNO (operands[1])) && TARGET_64BIT"
    [(set (reg:DI 7) (plus:DI (reg:DI 7) (const_int -16)))
!    (set (mem:TF (reg:DI 7)) (float_extend:TF (match_dup 1)))])
  
  (define_expand "extendsfdf2"
    [(set (match_operand:DF 0 "nonimmediate_operand" "")


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