arm64: avoid MSVC ARM64 sysreg macro warning

This commit is contained in:
Benjamin Oldenburg 2026-04-04 20:02:21 +07:00
parent d683afdead
commit 2b48b4de8f

View File

@ -770,7 +770,7 @@
#define ARM64_OFFSET14(v) (((uint32_t)(v) >> 2) & 0x3FFFU)
/* Special register field (for MRS/MSR) */
#define ARM64_SYSREG(op0, op1, crn, crm, op2) \
#define TCC_ARM64_SYSREG(op0, op1, crn, crm, op2) \
((((op0) & 3) << 19) | (((op1) & 7) << 16) | \
(((crn) & 15) << 12) | (((crm) & 15) << 8) | (((op2) & 7) << 5))