[PATCH] PowerPC: Support for Prefixed Add Immediate Shifted Instruction (RFC02686)
Jan Beulich
jbeulich@suse.com
Tue Mar 11 07:43:26 GMT 2025
On 05.03.2025 18:24, Surya Kumari Jangala wrote:
> @@ -9863,6 +9925,11 @@ const struct powerpc_opcode prefix_opcodes[] = {
> {"pla", PMLS|OP(14), P_D_MASK, POWER10, EXT, {RT, D34, PRA0, PCREL1}},
> {"paddi", PMLS|OP(14), P_D_MASK, POWER10, 0, {RT, RA0, SI34, PCREL}},
> {"psubi", PMLS|OP(14), P_D_MASK, POWER10, EXT, {RT, RA0, NSI34, PCREL}},
> +
> +{"plis", PMLS|OP(15), P_DRAPCREL_SI32_MASK, FUTURE, EXT, {RT, SI32}},
> +{"paddis", PMLS|OP(15), P_D_SI32_MASK, FUTURE, 0, {RT, RA0, SI32, PCREL}},
> +{"psubis", PMLS|OP(15), P_D_SI32_MASK, FUTURE, EXT, {RT, RA0, NSI32, PCREL}},
Since, unlike for e.g. PADDI, these are 32-bit fields, and these are shifted
immediates, don't we need one or more new relocation types to express these
immediate operands when they're not plain constants?
Jan
More information about the Binutils
mailing list