1 #ifndef TARGET_ARM_TRANSLATE_H
2 #define TARGET_ARM_TRANSLATE_H
4 #include "exec/translator.h"
9 typedef struct DisasContext
{
10 DisasContextBase base
;
11 const ARMISARegisters
*isar
;
13 /* The address of the current instruction being translated. */
15 target_ulong page_start
;
17 /* Nonzero if this instruction has been conditionally skipped. */
19 /* The label that will be jumped to when the instruction is skipped. */
21 /* Thumb-2 conditional execution bits. */
24 /* M-profile ECI/ICI exception-continuable instruction state */
27 * trans_ functions for insns which are continuable should set this true
28 * after decode (ie after any UNDEF checks)
31 /* TCG op to rewind to if this turns out to be an invalid ECI state */
32 TCGOp
*insn_eci_rewind
;
35 #if !defined(CONFIG_USER_ONLY)
38 ARMMMUIdx mmu_idx
; /* MMU index to use for normal loads/stores */
39 uint8_t tbii
; /* TBI1|TBI0 for insns */
40 uint8_t tbid
; /* TBI1|TBI0 for data */
41 uint8_t tcma
; /* TCMA1|TCMA0 for MTE */
42 bool ns
; /* Use non-secure CPREG bank on access */
43 int fp_excp_el
; /* FP exception EL or 0 if enabled */
44 int sve_excp_el
; /* SVE exception EL or 0 if enabled */
45 int sme_excp_el
; /* SME exception EL or 0 if enabled */
46 int vl
; /* current vector length in bytes */
47 int svl
; /* current streaming vector length in bytes */
48 bool vfp_enabled
; /* FP enabled via FPSCR.EN */
51 bool v7m_handler_mode
;
52 bool v8m_secure
; /* true if v8M and we're in Secure mode */
53 bool v8m_stackcheck
; /* true if we need to perform v8M stack limit checks */
54 bool v8m_fpccr_s_wrong
; /* true if v8M FPCCR.S != v8m_secure */
55 bool v7m_new_fp_ctxt_needed
; /* ASPEN set but no active FP context */
56 bool v7m_lspact
; /* FPCCR.LSPACT set */
57 /* Immediate value in AArch32 SVC insn; must be set if is_jmp == DISAS_SWI
58 * so that top level loop can generate correct syndrome information.
63 uint64_t features
; /* CPU features bits */
66 /* Because unallocated encodings generate different exception syndrome
67 * information from traps due to FP being disabled, we can't do a single
68 * "is fp access disabled" check at a high level in the decode tree.
69 * To help in catching bugs where the access check was forgotten in some
70 * code path, we set this flag when the access check is done, and assert
71 * that it is set at the point where we actually touch the FP regs.
73 bool fp_access_checked
;
74 bool sve_access_checked
;
75 /* ARMv8 single-step state (this is distinct from the QEMU gdbstub
76 * single-step support).
80 /* True if the insn just emitted was a load-exclusive instruction
81 * (necessary for syndrome information for single step exceptions),
82 * ie A64 LDX*, LDAX*, A32/T32 LDREX*, LDAEX*.
85 /* True if AccType_UNPRIV should be used for LDTR et al */
87 /* True if v8.3-PAuth is active. */
89 /* True if v8.5-MTE access to tags is enabled. */
91 /* True if v8.5-MTE tag checks affect the PE; index with is_unpriv. */
93 /* True with v8.5-BTI and SCTLR_ELx.BT* set. */
95 /* True if any CP15 access is trapped by HSTR_EL2 */
97 /* True if memory operations require alignment */
99 /* True if PSTATE.IL is set */
101 /* True if PSTATE.SM is set. */
103 /* True if PSTATE.ZA is set. */
105 /* True if non-streaming insns should raise an SME Streaming exception. */
106 bool sme_trap_nonstreaming
;
107 /* True if the current instruction is non-streaming. */
108 bool is_nonstreaming
;
109 /* True if MVE insns are definitely not predicated by VPR or LTPSIZE */
112 * >= 0, a copy of PSTATE.BTYPE, which will be 0 without v8.5-BTI.
113 * < 0, set by the current instruction.
116 /* A copy of cpu->dcz_blocksize. */
117 uint8_t dcz_blocksize
;
118 /* True if this page is guarded. */
120 /* Bottom two bits of XScale c15_cpar coprocessor access control reg */
122 /* TCG op of the current insn_start. */
124 #define TMP_A64_MAX 16
126 TCGv_i64 tmp_a64
[TMP_A64_MAX
];
129 typedef struct DisasCompare
{
135 /* Share the TCG temporaries common between 32 and 64 bit modes. */
136 extern TCGv_i32 cpu_NF
, cpu_ZF
, cpu_CF
, cpu_VF
;
137 extern TCGv_i64 cpu_exclusive_addr
;
138 extern TCGv_i64 cpu_exclusive_val
;
141 * Constant expanders for the decoders.
144 static inline int negate(DisasContext
*s
, int x
)
149 static inline int plus_1(DisasContext
*s
, int x
)
154 static inline int plus_2(DisasContext
*s
, int x
)
159 static inline int times_2(DisasContext
*s
, int x
)
164 static inline int times_4(DisasContext
*s
, int x
)
169 static inline int times_2_plus_1(DisasContext
*s
, int x
)
174 static inline int rsub_64(DisasContext
*s
, int x
)
179 static inline int rsub_32(DisasContext
*s
, int x
)
184 static inline int rsub_16(DisasContext
*s
, int x
)
189 static inline int rsub_8(DisasContext
*s
, int x
)
194 static inline int neon_3same_fp_size(DisasContext
*s
, int x
)
196 /* Convert 0==fp32, 1==fp16 into a MO_* value */
200 static inline int arm_dc_feature(DisasContext
*dc
, int feature
)
202 return (dc
->features
& (1ULL << feature
)) != 0;
205 static inline int get_mem_index(DisasContext
*s
)
207 return arm_to_core_mmu_idx(s
->mmu_idx
);
210 static inline void disas_set_insn_syndrome(DisasContext
*s
, uint32_t syn
)
212 /* We don't need to save all of the syndrome so we mask and shift
213 * out unneeded bits to help the sleb128 encoder do a better job.
215 syn
&= ARM_INSN_START_WORD2_MASK
;
216 syn
>>= ARM_INSN_START_WORD2_SHIFT
;
218 /* We check and clear insn_start_idx to catch multiple updates. */
219 assert(s
->insn_start
!= NULL
);
220 tcg_set_insn_start_param(s
->insn_start
, 2, syn
);
221 s
->insn_start
= NULL
;
224 /* is_jmp field values */
225 #define DISAS_JUMP DISAS_TARGET_0 /* only pc was modified dynamically */
226 /* CPU state was modified dynamically; exit to main loop for interrupts. */
227 #define DISAS_UPDATE_EXIT DISAS_TARGET_1
228 /* These instructions trap after executing, so the A32/T32 decoder must
229 * defer them until after the conditional execution state has been updated.
230 * WFI also needs special handling when single-stepping.
232 #define DISAS_WFI DISAS_TARGET_2
233 #define DISAS_SWI DISAS_TARGET_3
235 #define DISAS_WFE DISAS_TARGET_4
236 #define DISAS_HVC DISAS_TARGET_5
237 #define DISAS_SMC DISAS_TARGET_6
238 #define DISAS_YIELD DISAS_TARGET_7
239 /* M profile branch which might be an exception return (and so needs
240 * custom end-of-TB code)
242 #define DISAS_BX_EXCRET DISAS_TARGET_8
244 * For instructions which want an immediate exit to the main loop, as opposed
245 * to attempting to use lookup_and_goto_ptr. Unlike DISAS_UPDATE_EXIT, this
246 * doesn't write the PC on exiting the translation loop so you need to ensure
247 * something (gen_a64_set_pc_im or runtime helper) has done so before we reach
248 * return from cpu_tb_exec.
250 #define DISAS_EXIT DISAS_TARGET_9
251 /* CPU state was modified dynamically; no need to exit, but do not chain. */
252 #define DISAS_UPDATE_NOCHAIN DISAS_TARGET_10
254 #ifdef TARGET_AARCH64
255 void a64_translate_init(void);
256 void gen_a64_set_pc_im(uint64_t val
);
257 extern const TranslatorOps aarch64_translator_ops
;
259 static inline void a64_translate_init(void)
263 static inline void gen_a64_set_pc_im(uint64_t val
)
268 void arm_test_cc(DisasCompare
*cmp
, int cc
);
269 void arm_free_cc(DisasCompare
*cmp
);
270 void arm_jump_cc(DisasCompare
*cmp
, TCGLabel
*label
);
271 void arm_gen_test_cc(int cc
, TCGLabel
*label
);
272 MemOp
pow2_align(unsigned i
);
273 void unallocated_encoding(DisasContext
*s
);
274 void gen_exception_insn_el(DisasContext
*s
, uint64_t pc
, int excp
,
275 uint32_t syn
, uint32_t target_el
);
276 void gen_exception_insn(DisasContext
*s
, uint64_t pc
, int excp
, uint32_t syn
);
278 /* Return state of Alternate Half-precision flag, caller frees result */
279 static inline TCGv_i32
get_ahp_flag(void)
281 TCGv_i32 ret
= tcg_temp_new_i32();
283 tcg_gen_ld_i32(ret
, cpu_env
,
284 offsetof(CPUARMState
, vfp
.xregs
[ARM_VFP_FPSCR
]));
285 tcg_gen_extract_i32(ret
, ret
, 26, 1);
290 /* Set bits within PSTATE. */
291 static inline void set_pstate_bits(uint32_t bits
)
293 TCGv_i32 p
= tcg_temp_new_i32();
295 tcg_debug_assert(!(bits
& CACHED_PSTATE_BITS
));
297 tcg_gen_ld_i32(p
, cpu_env
, offsetof(CPUARMState
, pstate
));
298 tcg_gen_ori_i32(p
, p
, bits
);
299 tcg_gen_st_i32(p
, cpu_env
, offsetof(CPUARMState
, pstate
));
300 tcg_temp_free_i32(p
);
303 /* Clear bits within PSTATE. */
304 static inline void clear_pstate_bits(uint32_t bits
)
306 TCGv_i32 p
= tcg_temp_new_i32();
308 tcg_debug_assert(!(bits
& CACHED_PSTATE_BITS
));
310 tcg_gen_ld_i32(p
, cpu_env
, offsetof(CPUARMState
, pstate
));
311 tcg_gen_andi_i32(p
, p
, ~bits
);
312 tcg_gen_st_i32(p
, cpu_env
, offsetof(CPUARMState
, pstate
));
313 tcg_temp_free_i32(p
);
316 /* If the singlestep state is Active-not-pending, advance to Active-pending. */
317 static inline void gen_ss_advance(DisasContext
*s
)
321 clear_pstate_bits(PSTATE_SS
);
325 /* Generate an architectural singlestep exception */
326 static inline void gen_swstep_exception(DisasContext
*s
, int isv
, int ex
)
328 /* Fill in the same_el field of the syndrome in the helper. */
329 uint32_t syn
= syn_swstep(false, isv
, ex
);
330 gen_helper_exception_swstep(cpu_env
, tcg_constant_i32(syn
));
334 * Given a VFP floating point constant encoded into an 8 bit immediate in an
335 * instruction, expand it to the actual constant value of the specified
336 * size, as per the VFPExpandImm() pseudocode in the Arm ARM.
338 uint64_t vfp_expand_imm(int size
, uint8_t imm8
);
340 /* Vector operations shared between ARM and AArch64. */
341 void gen_gvec_ceq0(unsigned vece
, uint32_t rd_ofs
, uint32_t rm_ofs
,
342 uint32_t opr_sz
, uint32_t max_sz
);
343 void gen_gvec_clt0(unsigned vece
, uint32_t rd_ofs
, uint32_t rm_ofs
,
344 uint32_t opr_sz
, uint32_t max_sz
);
345 void gen_gvec_cgt0(unsigned vece
, uint32_t rd_ofs
, uint32_t rm_ofs
,
346 uint32_t opr_sz
, uint32_t max_sz
);
347 void gen_gvec_cle0(unsigned vece
, uint32_t rd_ofs
, uint32_t rm_ofs
,
348 uint32_t opr_sz
, uint32_t max_sz
);
349 void gen_gvec_cge0(unsigned vece
, uint32_t rd_ofs
, uint32_t rm_ofs
,
350 uint32_t opr_sz
, uint32_t max_sz
);
352 void gen_gvec_mla(unsigned vece
, uint32_t rd_ofs
, uint32_t rn_ofs
,
353 uint32_t rm_ofs
, uint32_t opr_sz
, uint32_t max_sz
);
354 void gen_gvec_mls(unsigned vece
, uint32_t rd_ofs
, uint32_t rn_ofs
,
355 uint32_t rm_ofs
, uint32_t opr_sz
, uint32_t max_sz
);
357 void gen_gvec_cmtst(unsigned vece
, uint32_t rd_ofs
, uint32_t rn_ofs
,
358 uint32_t rm_ofs
, uint32_t opr_sz
, uint32_t max_sz
);
359 void gen_gvec_sshl(unsigned vece
, uint32_t rd_ofs
, uint32_t rn_ofs
,
360 uint32_t rm_ofs
, uint32_t opr_sz
, uint32_t max_sz
);
361 void gen_gvec_ushl(unsigned vece
, uint32_t rd_ofs
, uint32_t rn_ofs
,
362 uint32_t rm_ofs
, uint32_t opr_sz
, uint32_t max_sz
);
364 void gen_cmtst_i64(TCGv_i64 d
, TCGv_i64 a
, TCGv_i64 b
);
365 void gen_ushl_i32(TCGv_i32 d
, TCGv_i32 a
, TCGv_i32 b
);
366 void gen_sshl_i32(TCGv_i32 d
, TCGv_i32 a
, TCGv_i32 b
);
367 void gen_ushl_i64(TCGv_i64 d
, TCGv_i64 a
, TCGv_i64 b
);
368 void gen_sshl_i64(TCGv_i64 d
, TCGv_i64 a
, TCGv_i64 b
);
370 void gen_gvec_uqadd_qc(unsigned vece
, uint32_t rd_ofs
, uint32_t rn_ofs
,
371 uint32_t rm_ofs
, uint32_t opr_sz
, uint32_t max_sz
);
372 void gen_gvec_sqadd_qc(unsigned vece
, uint32_t rd_ofs
, uint32_t rn_ofs
,
373 uint32_t rm_ofs
, uint32_t opr_sz
, uint32_t max_sz
);
374 void gen_gvec_uqsub_qc(unsigned vece
, uint32_t rd_ofs
, uint32_t rn_ofs
,
375 uint32_t rm_ofs
, uint32_t opr_sz
, uint32_t max_sz
);
376 void gen_gvec_sqsub_qc(unsigned vece
, uint32_t rd_ofs
, uint32_t rn_ofs
,
377 uint32_t rm_ofs
, uint32_t opr_sz
, uint32_t max_sz
);
379 void gen_gvec_ssra(unsigned vece
, uint32_t rd_ofs
, uint32_t rm_ofs
,
380 int64_t shift
, uint32_t opr_sz
, uint32_t max_sz
);
381 void gen_gvec_usra(unsigned vece
, uint32_t rd_ofs
, uint32_t rm_ofs
,
382 int64_t shift
, uint32_t opr_sz
, uint32_t max_sz
);
384 void gen_gvec_srshr(unsigned vece
, uint32_t rd_ofs
, uint32_t rm_ofs
,
385 int64_t shift
, uint32_t opr_sz
, uint32_t max_sz
);
386 void gen_gvec_urshr(unsigned vece
, uint32_t rd_ofs
, uint32_t rm_ofs
,
387 int64_t shift
, uint32_t opr_sz
, uint32_t max_sz
);
388 void gen_gvec_srsra(unsigned vece
, uint32_t rd_ofs
, uint32_t rm_ofs
,
389 int64_t shift
, uint32_t opr_sz
, uint32_t max_sz
);
390 void gen_gvec_ursra(unsigned vece
, uint32_t rd_ofs
, uint32_t rm_ofs
,
391 int64_t shift
, uint32_t opr_sz
, uint32_t max_sz
);
393 void gen_gvec_sri(unsigned vece
, uint32_t rd_ofs
, uint32_t rm_ofs
,
394 int64_t shift
, uint32_t opr_sz
, uint32_t max_sz
);
395 void gen_gvec_sli(unsigned vece
, uint32_t rd_ofs
, uint32_t rm_ofs
,
396 int64_t shift
, uint32_t opr_sz
, uint32_t max_sz
);
398 void gen_gvec_sqrdmlah_qc(unsigned vece
, uint32_t rd_ofs
, uint32_t rn_ofs
,
399 uint32_t rm_ofs
, uint32_t opr_sz
, uint32_t max_sz
);
400 void gen_gvec_sqrdmlsh_qc(unsigned vece
, uint32_t rd_ofs
, uint32_t rn_ofs
,
401 uint32_t rm_ofs
, uint32_t opr_sz
, uint32_t max_sz
);
403 void gen_gvec_sabd(unsigned vece
, uint32_t rd_ofs
, uint32_t rn_ofs
,
404 uint32_t rm_ofs
, uint32_t opr_sz
, uint32_t max_sz
);
405 void gen_gvec_uabd(unsigned vece
, uint32_t rd_ofs
, uint32_t rn_ofs
,
406 uint32_t rm_ofs
, uint32_t opr_sz
, uint32_t max_sz
);
408 void gen_gvec_saba(unsigned vece
, uint32_t rd_ofs
, uint32_t rn_ofs
,
409 uint32_t rm_ofs
, uint32_t opr_sz
, uint32_t max_sz
);
410 void gen_gvec_uaba(unsigned vece
, uint32_t rd_ofs
, uint32_t rn_ofs
,
411 uint32_t rm_ofs
, uint32_t opr_sz
, uint32_t max_sz
);
414 * Forward to the isar_feature_* tests given a DisasContext pointer.
416 #define dc_isar_feature(name, ctx) \
417 ({ DisasContext *ctx_ = (ctx); isar_feature_##name(ctx_->isar); })
419 /* Note that the gvec expanders operate on offsets + sizes. */
420 typedef void GVecGen2Fn(unsigned, uint32_t, uint32_t, uint32_t, uint32_t);
421 typedef void GVecGen2iFn(unsigned, uint32_t, uint32_t, int64_t,
423 typedef void GVecGen3Fn(unsigned, uint32_t, uint32_t,
424 uint32_t, uint32_t, uint32_t);
425 typedef void GVecGen4Fn(unsigned, uint32_t, uint32_t, uint32_t,
426 uint32_t, uint32_t, uint32_t);
428 /* Function prototype for gen_ functions for calling Neon helpers */
429 typedef void NeonGenOneOpFn(TCGv_i32
, TCGv_i32
);
430 typedef void NeonGenOneOpEnvFn(TCGv_i32
, TCGv_ptr
, TCGv_i32
);
431 typedef void NeonGenTwoOpFn(TCGv_i32
, TCGv_i32
, TCGv_i32
);
432 typedef void NeonGenTwoOpEnvFn(TCGv_i32
, TCGv_ptr
, TCGv_i32
, TCGv_i32
);
433 typedef void NeonGenThreeOpEnvFn(TCGv_i32
, TCGv_env
, TCGv_i32
,
435 typedef void NeonGenTwo64OpFn(TCGv_i64
, TCGv_i64
, TCGv_i64
);
436 typedef void NeonGenTwo64OpEnvFn(TCGv_i64
, TCGv_ptr
, TCGv_i64
, TCGv_i64
);
437 typedef void NeonGenNarrowFn(TCGv_i32
, TCGv_i64
);
438 typedef void NeonGenNarrowEnvFn(TCGv_i32
, TCGv_ptr
, TCGv_i64
);
439 typedef void NeonGenWidenFn(TCGv_i64
, TCGv_i32
);
440 typedef void NeonGenTwoOpWidenFn(TCGv_i64
, TCGv_i32
, TCGv_i32
);
441 typedef void NeonGenOneSingleOpFn(TCGv_i32
, TCGv_i32
, TCGv_ptr
);
442 typedef void NeonGenTwoSingleOpFn(TCGv_i32
, TCGv_i32
, TCGv_i32
, TCGv_ptr
);
443 typedef void NeonGenTwoDoubleOpFn(TCGv_i64
, TCGv_i64
, TCGv_i64
, TCGv_ptr
);
444 typedef void NeonGenOne64OpFn(TCGv_i64
, TCGv_i64
);
445 typedef void CryptoTwoOpFn(TCGv_ptr
, TCGv_ptr
);
446 typedef void CryptoThreeOpIntFn(TCGv_ptr
, TCGv_ptr
, TCGv_i32
);
447 typedef void CryptoThreeOpFn(TCGv_ptr
, TCGv_ptr
, TCGv_ptr
);
448 typedef void AtomicThreeOpFn(TCGv_i64
, TCGv_i64
, TCGv_i64
, TCGArg
, MemOp
);
449 typedef void WideShiftImmFn(TCGv_i64
, TCGv_i64
, int64_t shift
);
450 typedef void WideShiftFn(TCGv_i64
, TCGv_ptr
, TCGv_i64
, TCGv_i32
);
451 typedef void ShiftImmFn(TCGv_i32
, TCGv_i32
, int32_t shift
);
452 typedef void ShiftFn(TCGv_i32
, TCGv_ptr
, TCGv_i32
, TCGv_i32
);
455 * arm_tbflags_from_tb:
456 * @tb: the TranslationBlock
458 * Extract the flag values from @tb.
460 static inline CPUARMTBFlags
arm_tbflags_from_tb(const TranslationBlock
*tb
)
462 return (CPUARMTBFlags
){ tb
->flags
, tb
->cs_base
};
466 * Enum for argument to fpstatus_ptr().
468 typedef enum ARMFPStatusFlavour
{
473 } ARMFPStatusFlavour
;
476 * fpstatus_ptr: return TCGv_ptr to the specified fp_status field
478 * We have multiple softfloat float_status fields in the Arm CPU state struct
479 * (see the comment in cpu.h for details). Return a TCGv_ptr which has
480 * been set up to point to the requested field in the CPU state struct.
484 * for non-FP16 operations controlled by the FPCR
486 * for operations controlled by the FPCR where FPCR.FZ16 is to be used
488 * for A32/T32 Neon operations using the "standard FPSCR value"
490 * as FPST_STD, but where FPCR.FZ16 is to be used
492 static inline TCGv_ptr
fpstatus_ptr(ARMFPStatusFlavour flavour
)
494 TCGv_ptr statusptr
= tcg_temp_new_ptr();
499 offset
= offsetof(CPUARMState
, vfp
.fp_status
);
502 offset
= offsetof(CPUARMState
, vfp
.fp_status_f16
);
505 offset
= offsetof(CPUARMState
, vfp
.standard_fp_status
);
508 offset
= offsetof(CPUARMState
, vfp
.standard_fp_status_f16
);
511 g_assert_not_reached();
513 tcg_gen_addi_ptr(statusptr
, cpu_env
, offset
);
520 * @opc: size+sign+align of the memory operation
522 * Build the complete MemOp for a memory operation, including alignment
525 * If (op & MO_AMASK) then the operation already contains the required
526 * alignment, e.g. for AccType_ATOMIC. Otherwise, this an optionally
527 * unaligned operation, e.g. for AccType_NORMAL.
529 * In the latter case, there are configuration bits that require alignment,
530 * and this is applied here. Note that there is no way to indicate that
531 * no alignment should ever be enforced; this must be handled manually.
533 static inline MemOp
finalize_memop(DisasContext
*s
, MemOp opc
)
535 if (s
->align_mem
&& !(opc
& MO_AMASK
)) {
538 return opc
| s
->be_data
;
542 * asimd_imm_const: Expand an encoded SIMD constant value
544 * Expand a SIMD constant value. This is essentially the pseudocode
545 * AdvSIMDExpandImm, except that we also perform the boolean NOT needed for
546 * VMVN and VBIC (when cmode < 14 && op == 1).
548 * The combination cmode == 15 op == 1 is a reserved encoding for AArch32;
549 * callers must catch this; we return the 64-bit constant value defined
552 * cmode = 2,3,4,5,6,7,10,11,12,13 imm=0 was UNPREDICTABLE in v7A but
553 * is either not unpredictable or merely CONSTRAINED UNPREDICTABLE in v8A;
554 * we produce an immediate constant value of 0 in these cases.
556 uint64_t asimd_imm_const(uint32_t imm
, int cmode
, int op
);
559 * Helpers for implementing sets of trans_* functions.
560 * Defer the implementation of NAME to FUNC, with optional extra arguments.
562 #define TRANS(NAME, FUNC, ...) \
563 static bool trans_##NAME(DisasContext *s, arg_##NAME *a) \
564 { return FUNC(s, __VA_ARGS__); }
565 #define TRANS_FEAT(NAME, FEAT, FUNC, ...) \
566 static bool trans_##NAME(DisasContext *s, arg_##NAME *a) \
567 { return dc_isar_feature(FEAT, s) && FUNC(s, __VA_ARGS__); }
569 #endif /* TARGET_ARM_TRANSLATE_H */