Re: [PATCH 2/3] VAX: Handle constant 0 with QMATH DImode add/sub

2020-12-13 Thread Maciej W. Rozycki
On Sun, 13 Dec 2020, Jeff Law wrote: > > gcc/ > > * config/vax/vax.c (vax_expand_addsub_di_operands): Handle the > > addition or subtraction of 0. > OK, though I would have generally expected something to catch this earlier. Doesn't it matter that this pattern is produced in the con

Re: [PATCH 2/3] VAX: Handle constant 0 with QMATH DImode add/sub

2020-12-13 Thread Jeff Law via Gcc-patches
On 12/11/20 1:48 PM, Maciej W. Rozycki wrote: > Handle constant 0 passed to the QMATH DImode add/sub handler such as > with: > > #2 0x11d409b0 in gen_adddi3 (operand0=0x75c0a128, > operand1=0x75c60480, operand2=0x75c60470) > at .../gcc/config/vax/vax.md:755 > 755

[PATCH 2/3] VAX: Handle constant 0 with QMATH DImode add/sub

2020-12-11 Thread Maciej W. Rozycki
Handle constant 0 passed to the QMATH DImode add/sub handler such as with: #2 0x11d409b0 in gen_adddi3 (operand0=0x75c0a128, operand1=0x75c60480, operand2=0x75c60470) at .../gcc/config/vax/vax.md:755 755 "vax_expand_addsub_di_operands (operands, PLUS); DONE;") (