[PATCH 0/6] consolidate PowerPC instruction encoding macros

Michael Ellerman mpe at ellerman.id.au
Wed Jun 10 20:50:57 AEST 2020


Balamuruhan S <bala24 at linux.ibm.com> writes:
> ppc-opcode.h have base instruction encoding wrapped with stringify_in_c()
> for raw encoding to have compatibility. But there are redundant macros for
> base instruction encodings in bpf, instruction emulation test infrastructure
> and powerpc selftests.
>
> Currently PPC_INST_* macros are used for encoding instruction opcode and PPC_*
> for raw instuction encoding, this rfc patchset introduces PPC_RAW_* macros for
> base instruction encoding and reuse it from elsewhere. With this change we can
> avoid redundant macro definitions in multiple files and start adding new
> instructions in ppc-opcode.h in future.

Sorry this series collided with the prefixed instruction support and I
didn't have time to resolve the conflicts.

Can you please rebase on top of current mainline and resend.

cheers


More information about the Linuxppc-dev mailing list