Re: [PATCH] x86: Define macros for APX options

2024-04-08 Thread Hongtao Liu
On Mon, Apr 8, 2024 at 11:44 PM H.J. Lu wrote: > > Define following macros for APX options: > > 1. __APX_EGPR__: -mapx-features=egpr. > 2. __APX_PUSH2POP2__: -mapx-features=push2pop2. > 3. __APX_NDD__: -mapx-features=ndd. > 4. __APX_PPX__: -mapx-features=ppx. For -mapx-features=, we haven't

[PATCH] x86: Define macros for APX options

2024-04-08 Thread H.J. Lu
Define following macros for APX options: 1. __APX_EGPR__: -mapx-features=egpr. 2. __APX_PUSH2POP2__: -mapx-features=push2pop2. 3. __APX_NDD__: -mapx-features=ndd. 4. __APX_PPX__: -mapx-features=ppx. 5. __APX_INLINE_ASM_USE_GPR32__: -mapx-inline-asm-use-gpr32. They can be used to make assembly