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]

[PATCH, committed] Fix thinko in new fp rounding mnemonics


	* config/rs6000/rs6000.md (btruncsf2, ceilsf2, floorsf2,
	roundsf2): Remove "s" from mnemonic.

Index: rs6000.md
===================================================================
*** rs6000.md	(revision 107065)
--- rs6000.md	(working copy)
***************
*** 5332,5338 ****
    [(set (match_operand:SF 0 "gpc_reg_operand" "=f")
  	(unspec:SF [(match_operand:SF 1 "gpc_reg_operand" "f")] UNSPEC_FRIZ))]
    "TARGET_FPRND && TARGET_HARD_FLOAT && TARGET_FPRS"
!   "frizs %0,%1"
    [(set_attr "type" "fp")])
  
  (define_insn "ceildf2"
--- 5332,5338 ----
    [(set (match_operand:SF 0 "gpc_reg_operand" "=f")
  	(unspec:SF [(match_operand:SF 1 "gpc_reg_operand" "f")] UNSPEC_FRIZ))]
    "TARGET_FPRND && TARGET_HARD_FLOAT && TARGET_FPRS"
!   "friz %0,%1"
    [(set_attr "type" "fp")])
  
  (define_insn "ceildf2"
***************
*** 5343,5352 ****
    [(set_attr "type" "fp")])
  
  (define_insn "ceilsf2"
!   [(set (match_operand:SF 0 "gpc_reg_operand" "=f")
  	(unspec:SF [(match_operand:SF 1 "gpc_reg_operand" "f")] UNSPEC_FRIP))]
    "TARGET_FPRND && TARGET_HARD_FLOAT && TARGET_FPRS"
!   "frips %0,%1"
    [(set_attr "type" "fp")])
  
  (define_insn "floordf2"
--- 5343,5352 ----
    [(set_attr "type" "fp")])
  
  (define_insn "ceilsf2"
!  [(set (match_operand:SF 0 "gpc_reg_operand" "=f")
  	(unspec:SF [(match_operand:SF 1 "gpc_reg_operand" "f")] UNSPEC_FRIP))]
    "TARGET_FPRND && TARGET_HARD_FLOAT && TARGET_FPRS"
!   "frip %0,%1"
    [(set_attr "type" "fp")])
  
  (define_insn "floordf2"
***************
*** 5360,5366 ****
    [(set (match_operand:SF 0 "gpc_reg_operand" "=f")
  	(unspec:SF [(match_operand:SF 1 "gpc_reg_operand" "f")] UNSPEC_FRIM))]
    "TARGET_FPRND && TARGET_HARD_FLOAT && TARGET_FPRS"
!   "frims %0,%1"
    [(set_attr "type" "fp")])
  
  (define_insn "rounddf2"
--- 5360,5366 ----
    [(set (match_operand:SF 0 "gpc_reg_operand" "=f")
  	(unspec:SF [(match_operand:SF 1 "gpc_reg_operand" "f")] UNSPEC_FRIM))]
    "TARGET_FPRND && TARGET_HARD_FLOAT && TARGET_FPRS"
!   "frim %0,%1"
    [(set_attr "type" "fp")])
  
  (define_insn "rounddf2"
***************
*** 5374,5380 ****
    [(set (match_operand:SF 0 "gpc_reg_operand" "=f")
  	(unspec:SF [(match_operand:SF 1 "gpc_reg_operand" "f")] UNSPEC_FRIN))]
    "TARGET_FPRND && TARGET_HARD_FLOAT && TARGET_FPRS"
!   "frins %0,%1"
    [(set_attr "type" "fp")])
  
  ; An UNSPEC is used so we don't have to support SImode in FP registers.
--- 5374,5380 ----
    [(set (match_operand:SF 0 "gpc_reg_operand" "=f")
  	(unspec:SF [(match_operand:SF 1 "gpc_reg_operand" "f")] UNSPEC_FRIN))]
    "TARGET_FPRND && TARGET_HARD_FLOAT && TARGET_FPRS"
!   "frin %0,%1"
    [(set_attr "type" "fp")])
  
  ; An UNSPEC is used so we don't have to support SImode in FP registers.


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