Teaching expression() to treat some operations specially
Dmitry Selyutin
ghostmansd@gmail.com
Tue Jul 12 09:01:36 GMT 2022
On Tue, Jul 12, 2022 at 9:57 AM Jan Beulich <jbeulich@suse.com> wrote:
> I see. I have to admit that I don't know whether then it's the port's
> or common code's responsibility to initialize X_md everywhere. I'm
> sure Alan does ...
Updating X_md on port's side would be another option. For example,
this works too:
expressionS ex;
ex.X_md = (operand->flags &
(PPC_OPERAND_GPR | PPC_OPERAND_FPR | PPC_OPERAND_VR
| PPC_OPERAND_VSR | PPC_OPERAND_CR_BIT | PPC_OPERAND_CR_REG
| PPC_OPERAND_SPR | PPC_OPERAND_GQR | PPC_OPERAND_ACC));
expression (&ex);
--
Best regards,
Dmitry Selyutin
More information about the Binutils
mailing list