Revision e14fe0a9 target-alpha/op.c
b/target-alpha/op.c | ||
---|---|---|
295 | 295 |
|
296 | 296 |
void OPPROTO op_mulq (void) |
297 | 297 |
{ |
298 |
T0 *= T1;
|
|
298 |
T0 = (int64_t)T0 * (int64_t)T1;
|
|
299 | 299 |
RETURN(); |
300 | 300 |
} |
301 | 301 |
|
... | ... | |
307 | 307 |
|
308 | 308 |
void OPPROTO op_umulh (void) |
309 | 309 |
{ |
310 |
helper_umulh(); |
|
310 |
uint64_t tl, th; |
|
311 |
|
|
312 |
mulu64(&tl, &th, T0, T1); |
|
313 |
T0 = th; |
|
311 | 314 |
RETURN(); |
312 | 315 |
} |
313 | 316 |
|
Also available in: Unified diff