[PATCH] PowerPC: Support for Prefixed Add Immediate Shifted Instruction (RFC02686)
Jan Beulich
jbeulich@suse.com
Thu Mar 6 13:25:52 GMT 2025
On 05.03.2025 18:24, Surya Kumari Jangala wrote:
> PowerPC: Support for Prefixed Add Immediate Shifted Instruction (RFC02686)
Is there any (public) reference to the rfc you could add? From just the patch
I can't deduce what is being shifted here in which way.
> @@ -4031,9 +4087,15 @@ const unsigned int num_powerpc_operands = ARRAY_SIZE (powerpc_operands);
> /* An 8-byte D form prefix instruction. */
> #define P_D_MASK (((-1ULL << 50) & ~PCREL_MASK) | OP_MASK)
>
> +/* An 8-byte D form prefix instruction with 32bit SI field. */
> +#define P_D_SI32_MASK (((-1ULL << 48) & ~PCREL_MASK) | OP_MASK)
> +
> /* The same as P_D_MASK, but with the RA and PCREL fields specified. */
> #define P_DRAPCREL_MASK (P_D_MASK | PCREL_MASK | RA_MASK)
>
> +/* The same as P_D_MASK, but with the RA and PCREL fields specified. */
> +#define P_DRAPCREL_SI32_MASK (P_D_SI32_MASK | PCREL_MASK | RA_MASK)
Does this define's comment perhaps mean to reference P_D_SI32_MASK?
Jan
More information about the Binutils
mailing list