Re: [RFC] "single step" atomic instruction sequences as a whole on PPC

Ulrich Weigand
2007-05-09T19:45:53Z

Luis Machado wrote:

> About the instruction bits problem. Should i just literally assign a
> decimal number to the variable (16 in this case) or is it preferred to
> do a shift based on the hex value?

I'd just do "opcode = insn >> 26" same as in rs6000_software_single_step.
(In fact I'm wondering why branch_dest doesn't just that for itself ...).

Bye,
Ulrich

--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com