We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a675547 commit 79d32b7Copy full SHA for 79d32b7
gcc/config/arc64/arith.md
@@ -393,7 +393,14 @@
393
(DIVREM:GPI (match_operand:GPI 1 "nonmemory_operand")
394
(match_operand:GPI 2 "nonmemory_operand")))]
395
"TARGET_ARC64_DIVREM"
396
- ""
+ {
397
+ if (<MODE>mode == DImode
398
+ && !register_operand (operands[2], DImode))
399
+ operands[2] = force_reg (DImode, operands[2]);
400
401
+ && !register_operand (operands[1], DImode))
402
+ operands[1] = force_reg (DImode, operands[1]);
403
+ }
404
)
405
406
(define_insn "*<optab><mode>3"
0 commit comments