Lines 4091-4104
Link Here
|
4091 |
;; implementation works the other way round. |
4091 |
;; implementation works the other way round. |
4092 |
|
4092 |
|
4093 |
(define_insn_and_split "divmodpsi4" |
4093 |
(define_insn_and_split "divmodpsi4" |
4094 |
[(parallel [(set (match_operand:PSI 0 "pseudo_register_operand" "") |
4094 |
[(set (match_operand:PSI 0 "pseudo_register_operand" "") |
4095 |
(div:PSI (match_operand:PSI 1 "pseudo_register_operand" "") |
4095 |
(div:PSI (match_operand:PSI 1 "pseudo_register_operand" "") |
4096 |
(match_operand:PSI 2 "pseudo_register_operand" ""))) |
4096 |
(match_operand:PSI 2 "pseudo_register_operand" ""))) |
4097 |
(set (match_operand:PSI 3 "pseudo_register_operand" "") |
4097 |
(set (match_operand:PSI 3 "pseudo_register_operand" "") |
4098 |
(mod:PSI (match_dup 1) |
4098 |
(mod:PSI (match_dup 1) |
4099 |
(match_dup 2))) |
4099 |
(match_dup 2))) |
4100 |
(clobber (reg:DI 18)) |
4100 |
(clobber (reg:DI 18)) |
4101 |
(clobber (reg:QI 26))])] |
4101 |
(clobber (reg:QI 26))] |
4102 |
"" |
4102 |
"" |
4103 |
{ gcc_unreachable(); } |
4103 |
{ gcc_unreachable(); } |
4104 |
"" |
4104 |
"" |
Lines 4140-4153
Link Here
|
4140 |
[(set_attr "type" "xcall")]) |
4140 |
[(set_attr "type" "xcall")]) |
4141 |
|
4141 |
|
4142 |
(define_insn_and_split "udivmodpsi4" |
4142 |
(define_insn_and_split "udivmodpsi4" |
4143 |
[(parallel [(set (match_operand:PSI 0 "pseudo_register_operand" "") |
4143 |
[(set (match_operand:PSI 0 "pseudo_register_operand" "") |
4144 |
(udiv:PSI (match_operand:PSI 1 "pseudo_register_operand" "") |
4144 |
(udiv:PSI (match_operand:PSI 1 "pseudo_register_operand" "") |
4145 |
(match_operand:PSI 2 "pseudo_register_operand" ""))) |
4145 |
(match_operand:PSI 2 "pseudo_register_operand" ""))) |
4146 |
(set (match_operand:PSI 3 "pseudo_register_operand" "") |
4146 |
(set (match_operand:PSI 3 "pseudo_register_operand" "") |
4147 |
(umod:PSI (match_dup 1) |
4147 |
(umod:PSI (match_dup 1) |
4148 |
(match_dup 2))) |
4148 |
(match_dup 2))) |
4149 |
(clobber (reg:DI 18)) |
4149 |
(clobber (reg:DI 18)) |
4150 |
(clobber (reg:QI 26))])] |
4150 |
(clobber (reg:QI 26))] |
4151 |
"" |
4151 |
"" |
4152 |
{ gcc_unreachable(); } |
4152 |
{ gcc_unreachable(); } |
4153 |
"" |
4153 |
"" |
Lines 4191-4197
Link Here
|
4191 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
4191 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
4192 |
|
4192 |
|
4193 |
(define_insn_and_split "divmodsi4" |
4193 |
(define_insn_and_split "divmodsi4" |
4194 |
[(parallel [(set (match_operand:SI 0 "pseudo_register_operand" "") |
4194 |
[(set (match_operand:SI 0 "pseudo_register_operand" "") |
4195 |
(div:SI (match_operand:SI 1 "pseudo_register_operand" "") |
4195 |
(div:SI (match_operand:SI 1 "pseudo_register_operand" "") |
4196 |
(match_operand:SI 2 "pseudo_register_operand" ""))) |
4196 |
(match_operand:SI 2 "pseudo_register_operand" ""))) |
4197 |
(set (match_operand:SI 3 "pseudo_register_operand" "") |
4197 |
(set (match_operand:SI 3 "pseudo_register_operand" "") |
Lines 4199-4205
Link Here
|
4199 |
(clobber (reg:SI 18)) |
4199 |
(clobber (reg:SI 18)) |
4200 |
(clobber (reg:SI 22)) |
4200 |
(clobber (reg:SI 22)) |
4201 |
(clobber (reg:HI 26)) |
4201 |
(clobber (reg:HI 26)) |
4202 |
(clobber (reg:HI 30))])] |
4202 |
(clobber (reg:HI 30))] |
4203 |
"" |
4203 |
"" |
4204 |
"this divmodsi4 pattern should have been splitted;" |
4204 |
"this divmodsi4 pattern should have been splitted;" |
4205 |
"" |
4205 |
"" |
Lines 4237-4243
Link Here
|
4237 |
[(set_attr "type" "xcall")]) |
4237 |
[(set_attr "type" "xcall")]) |
4238 |
|
4238 |
|
4239 |
(define_insn_and_split "udivmodsi4" |
4239 |
(define_insn_and_split "udivmodsi4" |
4240 |
[(parallel [(set (match_operand:SI 0 "pseudo_register_operand" "") |
4240 |
[(set (match_operand:SI 0 "pseudo_register_operand" "") |
4241 |
(udiv:SI (match_operand:SI 1 "pseudo_register_operand" "") |
4241 |
(udiv:SI (match_operand:SI 1 "pseudo_register_operand" "") |
4242 |
(match_operand:SI 2 "pseudo_register_operand" ""))) |
4242 |
(match_operand:SI 2 "pseudo_register_operand" ""))) |
4243 |
(set (match_operand:SI 3 "pseudo_register_operand" "") |
4243 |
(set (match_operand:SI 3 "pseudo_register_operand" "") |
Lines 4245-4251
Link Here
|
4245 |
(clobber (reg:SI 18)) |
4245 |
(clobber (reg:SI 18)) |
4246 |
(clobber (reg:SI 22)) |
4246 |
(clobber (reg:SI 22)) |
4247 |
(clobber (reg:HI 26)) |
4247 |
(clobber (reg:HI 26)) |
4248 |
(clobber (reg:HI 30))])] |
4248 |
(clobber (reg:HI 30))] |
4249 |
"" |
4249 |
"" |
4250 |
"this udivmodsi4 pattern should have been splitted;" |
4250 |
"this udivmodsi4 pattern should have been splitted;" |
4251 |
"" |
4251 |
"" |