2009-02-xx Ruan Beihong <ruanbeihong@gmail.com> Richard Sandiford <rdsandiford@googlemail.com>

gcc/
2009-02-xx  Ruan Beihong  <ruanbeihong@gmail.com>
	    Richard Sandiford  <rdsandiford@googlemail.com>

	* config/mips/mips.c (CODE_FOR_loongson_biadd): Delete.
	* config/mips/loongson.md (reduc_uplus_<mode>): Rename to...
	(loongson_biadd): ...this.

Co-Authored-By: Richard Sandiford <rdsandiford@googlemail.com>

From-SVN: r144243
This commit is contained in:
Ruan Beihong 2009-02-17 20:26:22 +00:00 committed by Richard Sandiford
parent 883935fd20
commit e69ff91041
3 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2009-02-17 Ruan Beihong <ruanbeihong@gmail.com>
Richard Sandiford <rdsandiford@googlemail.com>
* config/mips/mips.c (CODE_FOR_loongson_biadd): Delete.
* config/mips/loongson.md (reduc_uplus_<mode>): Rename to...
(loongson_biadd): ...this.
2009-02-17 Richard Guenther <rguenther@suse.de>
PR tree-optimization/39202

View File

@ -358,7 +358,7 @@
[(set_attr "type" "fadd")])
;; Sum of unsigned byte integers.
(define_insn "reduc_uplus_<mode>"
(define_insn "loongson_biadd"
[(set (match_operand:<V_stretch_half> 0 "register_operand" "=f")
(unspec:<V_stretch_half> [(match_operand:VB 1 "register_operand" "f")]
UNSPEC_LOONGSON_BIADD))]

View File

@ -11253,7 +11253,6 @@ AVAIL_NON_MIPS16 (cache, TARGET_CACHE_BUILTIN)
#define CODE_FOR_loongson_pminub CODE_FOR_uminv8qi3
#define CODE_FOR_loongson_pmulhuh CODE_FOR_umulv4hi3_highpart
#define CODE_FOR_loongson_pmulhh CODE_FOR_smulv4hi3_highpart
#define CODE_FOR_loongson_biadd CODE_FOR_reduc_uplus_v8qi
#define CODE_FOR_loongson_psubw CODE_FOR_subv2si3
#define CODE_FOR_loongson_psubh CODE_FOR_subv4hi3
#define CODE_FOR_loongson_psubb CODE_FOR_subv8qi3