--- gcc/config/gmicro.md 2018/04/24 17:51:36 1.1 +++ gcc/config/gmicro.md 2018/04/24 18:05:43 1.1.1.3 @@ -770,7 +770,7 @@ ;; M.Yuhara 89.08.24 ;; experiment on the built-in strcpy (__builtin_smov) ;; -;; len = 0 means unkown string length. +;; len = 0 means unknown string length. ;; ;; mem:SI is dummy. Necessary so as not to be deleted by optimization. ;; Use of BLKmode would be better... @@ -1688,14 +1688,14 @@ "neg.b %0") (define_insn "negsf2" - [(set (match_operand:SF 0 "general_operand" "f") + [(set (match_operand:SF 0 "general_operand" "=f") (neg:SF (match_operand:SF 1 "general_operand" "fmF")))] "TARGET_FPU" "fneg.s %f1,%0") (define_insn "negdf2" - [(set (match_operand:DF 0 "general_operand" "f") + [(set (match_operand:DF 0 "general_operand" "=f") (neg:DF (match_operand:DF 1 "general_operand" "fmF")))] "TARGET_FPU" "fneg.d %f1,%0") @@ -1704,13 +1704,13 @@ ;; Absolute value instructions (define_insn "abssf2" - [(set (match_operand:SF 0 "general_operand" "f") + [(set (match_operand:SF 0 "general_operand" "=f") (abs:SF (match_operand:SF 1 "general_operand" "fmF")))] "TARGET_FPU" "fabs.s %f1,%0") (define_insn "absdf2" - [(set (match_operand:DF 0 "general_operand" "f") + [(set (match_operand:DF 0 "general_operand" "=f") (abs:DF (match_operand:DF 1 "general_operand" "fmF")))] "TARGET_FPU" "fabs.d %f1,%0") @@ -2180,7 +2180,7 @@ ;; On the Gmicro/300, ;; bitfield instructions are not applicable to registers ;-< ;; But I write the register cases, because without them the gcc -;; seems to use "and" instructon with some other instructions +;; seems to use "and" instruction with some other instructions ;; instead of using a shift instruction. ;; It is because on many processors shift instructions are slower. ;; On the Gmicro/300 which has a barrel shifter, @@ -2634,7 +2634,7 @@ (define_peephole [(set (reg:SI 15) (plus:SI (reg:SI 15) (const_int 4))) - (set (match_operand:DF 0 "register_operand" "f") + (set (match_operand:DF 0 "register_operand" "=f") (match_operand:DF 1 "register_operand" "r"))] "FPU_REG_P (operands[0]) && ! FPU_REG_P (operands[1])" "*