Home
last modified time | relevance | path

Searched refs:opcode (Results 1 – 5 of 5) sorted by relevance

/kvm-unit-tests/s390x/
H A Demulator.c47 static __always_inline void __test_cpacf(unsigned int opcode, unsigned long func, in __test_cpacf() argument
56 : : "d" (gr0), "d" (gr1), [opc] "i" (opcode), in __test_cpacf()
60 static __always_inline void __test_cpacf_r1_odd(unsigned int opcode) in __test_cpacf_r1_odd() argument
64 __test_cpacf(opcode, 0, 1, 4, 6); in __test_cpacf_r1_odd()
69 static __always_inline void __test_cpacf_r1_null(unsigned int opcode) in __test_cpacf_r1_null() argument
73 __test_cpacf(opcode, 0, 0, 4, 6); in __test_cpacf_r1_null()
78 static __always_inline void __test_cpacf_r2_odd(unsigned int opcode) in __test_cpacf_r2_odd() argument
82 __test_cpacf(opcode, 0, 2, 3, 6); in __test_cpacf_r2_odd()
87 static __always_inline void __test_cpacf_r2_null(unsigned int opcode) in __test_cpacf_r2_null() argument
91 __test_cpacf(opcode, 0, 2, 0, 6); in __test_cpacf_r2_null()
[all …]
/kvm-unit-tests/lib/s390x/asm/
H A Dcpacf.h167 static __always_inline void __cpacf_query(unsigned int opcode, in __cpacf_query() argument
170 switch (opcode) { in __cpacf_query()
212 static inline int __cpacf_check_opcode(unsigned int opcode) in __cpacf_check_opcode() argument
214 switch (opcode) { in __cpacf_check_opcode()
235 static __always_inline int cpacf_query(unsigned int opcode, cpacf_mask_t *mask) in cpacf_query() argument
237 if (__cpacf_check_opcode(opcode)) { in cpacf_query()
238 __cpacf_query(opcode, mask); in cpacf_query()
260 static inline int cpacf_query_func(unsigned int opcode, unsigned int func) in cpacf_query_func() argument
264 if (cpacf_query(opcode, &mask)) in cpacf_query_func()
/kvm-unit-tests/lib/s390x/
H A Dsie-icpt.h15 uint64_t opcode : 8; member
H A Dsie-icpt.c55 if (instr.opcode != 0x83 || instr.zero) in sie_is_diag_icpt()
/kvm-unit-tests/x86/
H A Dsvm_tests.c369 u8 *opcode; in msr_intercept_finished() local
382 opcode = (u8 *)vmcb->save.rip; in msr_intercept_finished()
383 if (opcode[0] != 0x0f) in msr_intercept_finished()
386 switch (opcode[1]) { in msr_intercept_finished()