On 11/19/20 8:36 PM, Maciej W. Rozycki wrote: > It makes no sense for insn operand predicates, as long as they accept a > register operand, to be more restrictive than the set of the associated > constraints, because expand will choose the insn based on the relevant > operand being a pseudo register then and reload keep it happily as a > memory reference if a constraint permits it. So the restriction posed > by such a predicate will be happily ignored, and moreover if a splitter > is added, such as required for MODE_CC support, the new instructions > will reject the original operands supplied, causing an ICE. An actual > example will be given with a subsequent change. > > Therefore, similarly to EXTV/EXTZV/INSV insns, remove inconsistencies > with predicates and constraints of bitfield comparison insns, observing > that a bitfield located in memory is byte-addressed by the respective > machine instructions and therefore SImode may only be used with a > register or an offsettable memory operand (i.e. not an indexed, > pre-decremented, or post-incremented one). > > Also give the insns names, for easier reference here and elsewhere. > > gcc/ > * config/vax/vax.md (*cmpv_2): Name insn. > (*cmpv, *cmpzv, *cmpzv_2): Likewise. Fix location predicate and > constraint. OK jeff
- Re: [PATCH 19/31] VAX: Add the `movmemhi' in... Jeff Law via Gcc-patches
- [PATCH 20/31] VAX: Fix predicates and constraints... Maciej W. Rozycki
- Re: [PATCH 20/31] VAX: Fix predicates and co... Jeff Law via Gcc-patches
- [PATCH 21/31] VAX: Remove EXTV/EXTZV/INSV instruc... Maciej W. Rozycki
- Re: [PATCH 21/31] VAX: Remove EXTV/EXTZV/INS... Jeff Law via Gcc-patches
- [PATCH 22/31] VAX: Ensure PIC mode address is adj... Maciej W. Rozycki
- Re: [PATCH 22/31] VAX: Ensure PIC mode addre... Jeff Law via Gcc-patches
- [PATCH 23/31] VAX: Make `extv' an expander matchi... Maciej W. Rozycki
- Re: [PATCH 23/31] VAX: Make `extv' an expand... Jeff Law via Gcc-patches
- [PATCH 24/31] VAX: Fix predicates and constraints... Maciej W. Rozycki
- Re: [PATCH 24/31] VAX: Fix predicates and co... Jeff Law via Gcc-patches
- [PATCH 25/31] VAX: Fix predicates for widening mu... Maciej W. Rozycki
- Re: [PATCH 25/31] VAX: Fix predicates for wi... Jeff Law via Gcc-patches
- Re: [PATCH 25/31] VAX: Fix predicates fo... Maciej W. Rozycki
- Re: [PATCH 25/31] VAX: Fix predicate... Jeff Law via Gcc-patches
- [PATCH 26/31] VAX: Correct issues with commented-... Maciej W. Rozycki
- Re: [PATCH 26/31] VAX: Correct issues with c... Jeff Law via Gcc-patches
- [PATCH 27/31] VAX: Make the `divmoddisi4' and `*a... Maciej W. Rozycki
- Re: [PATCH 27/31] VAX: Make the `divmoddisi4... Jeff Law via Gcc-patches
- Re: [PATCH 27/31] VAX: Make the `divmoddisi4... Segher Boessenkool
- [PATCH 28/31] RTL: Add `const_double_zero' syntac... Maciej W. Rozycki