/usr/src/kernels/4.18.0-553.157.1.el8_10.x86_64/arch/x86/include/asm
NameSizeModeActions
crypto/-0755rm
e820/-0755rm
fpu/-0755rm
numachip/-0755rm
shared/-0755rm
trace/-0755rm
uv/-0755rm
vdso/-0755rm
xen/-0755rm
a.out-core.h19310644editdlrm
acenv.h15960644editdlrm
acpi.h53000644editdlrm
agp.h10700644editdlrm
alternative.h114070644editdlrm
amd-ibs.h50200644editdlrm
amd_hsmp.h3640644editdlrm
amd_nb.h30860644editdlrm
apb_timer.h14660644editdlrm
apic.h146610644editdlrm
apicdef.h115650644editdlrm
apic_flat_64.h1510644editdlrm
apm.h17680644editdlrm
archrandom.h32210644editdlrm
arch_hweight.h13110644editdlrm
asm-offsets.h350644editdlrm
asm-prototypes.h9460644editdlrm
asm.h51860644editdlrm
atomic.h62790644editdlrm
atomic64_32.h81500644editdlrm
atomic64_64.h59330644editdlrm
audit.h1700644editdlrm
barrier.h24710644editdlrm
bios_ebda.h9140644editdlrm
bitops.h107270644editdlrm
boot.h18250644editdlrm
bootparam_utils.h29070644editdlrm
bug.h21170644editdlrm
bugs.h5330644editdlrm
cache.h6410644editdlrm
cacheflush.h3060644editdlrm
cacheinfo.h2090644editdlrm
calgary.h23700644editdlrm
ce4100.h1210644editdlrm
checksum.h1330644editdlrm
checksum_32.h49640644editdlrm
checksum_64.h55410644editdlrm
clocksource.h4800644editdlrm
cmdline.h3020644editdlrm
cmpxchg.h78910644editdlrm
cmpxchg_32.h32470644editdlrm
cmpxchg_64.h5520644editdlrm
coco.h4820644editdlrm
compat.h48610644editdlrm
cpu.h26070644editdlrm
cpufeature.h94700644editdlrm
cpufeatures.h328450644editdlrm
cpuid.h4980644editdlrm
cpuidle_haltpoll.h1890644editdlrm
cpumask.h4080644editdlrm
cpu_device_id.h81090644editdlrm
cpu_entry_area.h41620644editdlrm
crash.h3000644editdlrm
current.h4430644editdlrm
debugreg.h34110644editdlrm
delay.h2750644editdlrm
desc.h122740644editdlrm
desc_defs.h33960644editdlrm
device.h3280644editdlrm
disabled-features.h35590644editdlrm
div64.h21890644editdlrm
dma-mapping.h2880644editdlrm
dma.h98270644editdlrm
dmi.h5560644editdlrm
dwarf2.h24870644editdlrm
edac.h4740644editdlrm
efi.h74160644editdlrm
elf.h126400644editdlrm
emergency-restart.h2020644editdlrm
emulate_prefix.h4840644editdlrm
enclu.h1810644editdlrm
entry_arch.h19220644editdlrm
espfix.h4260644editdlrm
exec.h370644editdlrm
export.h1200644editdlrm
extable.h13000644editdlrm
fb.h5400644editdlrm
fixmap.h63810644editdlrm
floppy.h67480644editdlrm
frame.h22370644editdlrm
fsgsbase.h20720644editdlrm
ftrace.h27770644editdlrm
futex.h22690644editdlrm
gart.h26820644editdlrm
genapic.h220644editdlrm
geode.h8420644editdlrm
hardirq.h22070644editdlrm
highmem.h24660644editdlrm
hpet.h34610644editdlrm
hugetlb.h18670644editdlrm
hw_breakpoint.h21120644editdlrm
hw_irq.h41260644editdlrm
hyperv-tlfs.h223370644editdlrm
hypervisor.h19750644editdlrm
i8259.h19750644editdlrm
ia32.h17890644editdlrm
ia32_unistd.h3130644editdlrm
imr.h18490644editdlrm
inat.h67360644editdlrm
inat_types.h10130644editdlrm
init.h6320644editdlrm
insn-eval.h15460644editdlrm
insn.h80980644editdlrm
inst.h54530644editdlrm
intel-family.h51680644editdlrm
intel-mid.h50250644editdlrm
intel_ds.h8490644editdlrm
intel_mid_vrtc.h3300644editdlrm
intel_pconfig.h15450644editdlrm
intel_pmc_ipc.h22670644editdlrm
intel_pt.h12760644editdlrm
intel_punit_ipc.h46660644editdlrm
intel_scu_ipc.h23510644editdlrm
intel_telemetry.h40600644editdlrm
invpcid.h16040644editdlrm
io.h118720644editdlrm
iomap.h12280644editdlrm
iommu.h9350644editdlrm
iosf_mbi.h73540644editdlrm
io_apic.h58900644editdlrm
ipi.h28730644editdlrm
irq.h14150644editdlrm
irqdomain.h17960644editdlrm
irqflags.h41610644editdlrm
irq_regs.h6830644editdlrm
irq_remapping.h28650644editdlrm
irq_vectors.h41050644editdlrm
irq_work.h4650644editdlrm
ist.h7350644editdlrm
jailhouse_para.h4490644editdlrm
jump_label.h25290644editdlrm
kasan.h12910644editdlrm
kaslr.h3140644editdlrm
kbdleds.h4540644editdlrm
Kbuild3190644editdlrm
kdebug.h10420644editdlrm
kexec-bzimage64.h1950644editdlrm
kexec.h58430644editdlrm
kgdb.h21430644editdlrm
kprobes.h37010644editdlrm
kvm-x86-ops.h39890644editdlrm
kvmclock.h5060644editdlrm
kvm_host.h639250644editdlrm
kvm_page_track.h27000644editdlrm
kvm_para.h44220644editdlrm
kvm_types.h1780644editdlrm
kvm_vcpu_regs.h6060644editdlrm
linkage.h12680644editdlrm
livepatch.h10390644editdlrm
local.h39250644editdlrm
local64.h330644editdlrm
mach_timer.h15900644editdlrm
mach_traps.h10130644editdlrm
math_emu.h3950644editdlrm
mc146818rtc.h28350644editdlrm
mce.h119090644editdlrm
mcsafe_test.h14180644editdlrm
memtype.h8150644editdlrm
mem_encrypt.h35430644editdlrm
microcode.h35570644editdlrm
microcode_amd.h13730644editdlrm
microcode_intel.h26190644editdlrm
misc.h1430644editdlrm
mmconfig.h3740644editdlrm
mmu.h16890644editdlrm
mmu_context.h101180644editdlrm
mmx.h3370644editdlrm
mmzone.h1290644editdlrm
mmzone_32.h11880644editdlrm
mmzone_64.h4300644editdlrm
module.h20960644editdlrm
mpspec.h40230644editdlrm
mpspec_def.h42560644editdlrm
mpx.h31250644editdlrm
mshyperv.h101420644editdlrm
msi.h15080644editdlrm
msidef.h18140644editdlrm
msr-index.h424950644editdlrm
msr-trace.h13870644editdlrm
msr.h112900644editdlrm
mtrr.h47530644editdlrm
mwait.h49680644editdlrm
nmi.h14960644editdlrm
nops.h44120644editdlrm
nospec-branch.h142050644editdlrm
numa.h22280644editdlrm
numa_32.h2560644editdlrm
olpc.h32400644editdlrm
olpc_ofw.h11280644editdlrm
orc_lookup.h16650644editdlrm
orc_types.h35770644editdlrm
page.h25170644editdlrm
page_32.h10390644editdlrm
page_32_types.h16910644editdlrm
page_64.h15730644editdlrm
page_64_types.h22080644editdlrm
page_types.h23690644editdlrm
paravirt.h246080644editdlrm
paravirt_types.h227090644editdlrm
parport.h3140644editdlrm
pci-direct.h7400644editdlrm
pci-functions.h6540644editdlrm
pci.h32880644editdlrm
pci_64.h6840644editdlrm
pci_x86.h62830644editdlrm
percpu.h202670644editdlrm
perf_event.h178960644editdlrm
perf_event_p4.h267310644editdlrm
pgalloc.h65910644editdlrm
pgtable-2level.h28150644editdlrm
pgtable-2level_types.h8670644editdlrm
pgtable-3level.h88320644editdlrm
pgtable-3level_types.h10070644editdlrm
pgtable-invert.h10910644editdlrm
pgtable.h358010644editdlrm
pgtable_32.h31590644editdlrm
pgtable_32_types.h21210644editdlrm
pgtable_64.h74740644editdlrm
pgtable_64_types.h43650644editdlrm
pgtable_types.h171490644editdlrm
pkeys.h35420644editdlrm
pkru.h13460644editdlrm
platform_sst_audio.h32900644editdlrm
pm-trace.h6110644editdlrm
posix_types.h1440644editdlrm
preempt.h32170644editdlrm
probe_roms.h2730644editdlrm
processor-cyrix.h8790644editdlrm
processor-flags.h17500644editdlrm
processor.h244800644editdlrm
prom.h10280644editdlrm
proto.h13130644editdlrm
pti.h4290644editdlrm
ptrace.h89960644editdlrm
purgatory.h2350644editdlrm
pvclock-abi.h15300644editdlrm
pvclock.h27020644editdlrm
qrwlock.h1990644editdlrm
qspinlock.h25980644editdlrm
qspinlock_paravirt.h19080644editdlrm
realmode.h20640644editdlrm
reboot.h8980644editdlrm
reboot_fixups.h1830644editdlrm
refcount.h29110644editdlrm
required-features.h30430644editdlrm
resctrl.h30640644editdlrm
rio.h26300644editdlrm
rmwcc.h22590644editdlrm
seccomp.h5100644editdlrm
sections.h9160644editdlrm
segment.h111840644editdlrm
serial.h11370644editdlrm
setup.h37510644editdlrm
setup_arch.h770644editdlrm
set_memory.h53810644editdlrm
sev-common.h48670644editdlrm
sev.h69650644editdlrm
sgx.h131570644editdlrm
shmparam.h1930644editdlrm
sigcontext.h2610644editdlrm
sigframe.h23390644editdlrm
sighandling.h7300644editdlrm
signal.h24240644editdlrm
simd.h2870644editdlrm
smap.h22470644editdlrm
smp.h55000644editdlrm
sparsemem.h9940644editdlrm
spec-ctrl.h31430644editdlrm
special_insns.h75360644editdlrm
spinlock.h12140644editdlrm
spinlock_types.h7190644editdlrm
sta2x11.h3520644editdlrm
stackprotector.h39660644editdlrm
stacktrace.h26190644editdlrm
string.h1290644editdlrm
string_32.h79290644editdlrm
string_64.h42370644editdlrm
suspend.h5030644editdlrm
suspend_32.h9380644editdlrm
suspend_64.h18380644editdlrm
svm.h146720644editdlrm
switch_to.h32580644editdlrm
sync_bitops.h35030644editdlrm
sync_core.h31380644editdlrm
syscall.h54890644editdlrm
syscalls.h13320644editdlrm
syscall_wrapper.h77800644editdlrm
sysfb.h26000644editdlrm
tce.h17240644editdlrm
tdx.h23600644editdlrm
text-patching.h48120644editdlrm
thermal.h4280644editdlrm
thread_info.h88050644editdlrm
time.h3310644editdlrm
timer.h10270644editdlrm
timex.h3050644editdlrm
tlb.h11030644editdlrm
tlbbatch.h3320644editdlrm
tlbflush.h178130644editdlrm
topology.h66540644editdlrm
trace_clock.h4060644editdlrm
trapnr.h13160644editdlrm
traps.h53740644editdlrm
trap_pf.h7090644editdlrm
tsc.h19500644editdlrm
uaccess.h212330644editdlrm
uaccess_32.h10060644editdlrm
uaccess_64.h31290644editdlrm
umip.h3290644editdlrm
unaligned.h3450644editdlrm
unistd.h14820644editdlrm
unwind.h32200644editdlrm
unwind_hints.h33420644editdlrm
uprobes.h16860644editdlrm
user.h22570644editdlrm
user32.h21560644editdlrm
user_32.h50420644editdlrm
user_64.h53390644editdlrm
vdso.h14000644editdlrm
vga.h7400644editdlrm
vgtod.h5180644editdlrm
virtext.h31020644editdlrm
vm86.h22120644editdlrm
vmware.h19420644editdlrm
vmx.h267630644editdlrm
vmxfeatures.h60490644editdlrm
vsyscall.h9200644editdlrm
vvar.h16030644editdlrm
word-at-a-time.h25960644editdlrm
x86_init.h115200644editdlrm
xor.h105080644editdlrm
xor_32.h147480644editdlrm
xor_64.h7160644editdlrm
xor_avx.h46100644editdlrm
Edit: /usr/src/kernels/4.18.0-553.157.1.el8_10.x86_64/arch/x86/include/asm/inst.h (5453B)
/* SPDX-License-Identifier: GPL-2.0 */ /* * Generate .byte code for some instructions not supported by old * binutils. */ #ifndef X86_ASM_INST_H #define X86_ASM_INST_H #ifdef __ASSEMBLY__ #define REG_NUM_INVALID 100 #define REG_TYPE_R32 0 #define REG_TYPE_R64 1 #define REG_TYPE_XMM 2 #define REG_TYPE_INVALID 100 .macro R32_NUM opd r32 \opd = REG_NUM_INVALID .ifc \r32,%eax \opd = 0 .endif .ifc \r32,%ecx \opd = 1 .endif .ifc \r32,%edx \opd = 2 .endif .ifc \r32,%ebx \opd = 3 .endif .ifc \r32,%esp \opd = 4 .endif .ifc \r32,%ebp \opd = 5 .endif .ifc \r32,%esi \opd = 6 .endif .ifc \r32,%edi \opd = 7 .endif #ifdef CONFIG_X86_64 .ifc \r32,%r8d \opd = 8 .endif .ifc \r32,%r9d \opd = 9 .endif .ifc \r32,%r10d \opd = 10 .endif .ifc \r32,%r11d \opd = 11 .endif .ifc \r32,%r12d \opd = 12 .endif .ifc \r32,%r13d \opd = 13 .endif .ifc \r32,%r14d \opd = 14 .endif .ifc \r32,%r15d \opd = 15 .endif #endif .endm .macro R64_NUM opd r64 \opd = REG_NUM_INVALID #ifdef CONFIG_X86_64 .ifc \r64,%rax \opd = 0 .endif .ifc \r64,%rcx \opd = 1 .endif .ifc \r64,%rdx \opd = 2 .endif .ifc \r64,%rbx \opd = 3 .endif .ifc \r64,%rsp \opd = 4 .endif .ifc \r64,%rbp \opd = 5 .endif .ifc \r64,%rsi \opd = 6 .endif .ifc \r64,%rdi \opd = 7 .endif .ifc \r64,%r8 \opd = 8 .endif .ifc \r64,%r9 \opd = 9 .endif .ifc \r64,%r10 \opd = 10 .endif .ifc \r64,%r11 \opd = 11 .endif .ifc \r64,%r12 \opd = 12 .endif .ifc \r64,%r13 \opd = 13 .endif .ifc \r64,%r14 \opd = 14 .endif .ifc \r64,%r15 \opd = 15 .endif #endif .endm .macro XMM_NUM opd xmm \opd = REG_NUM_INVALID .ifc \xmm,%xmm0 \opd = 0 .endif .ifc \xmm,%xmm1 \opd = 1 .endif .ifc \xmm,%xmm2 \opd = 2 .endif .ifc \xmm,%xmm3 \opd = 3 .endif .ifc \xmm,%xmm4 \opd = 4 .endif .ifc \xmm,%xmm5 \opd = 5 .endif .ifc \xmm,%xmm6 \opd = 6 .endif .ifc \xmm,%xmm7 \opd = 7 .endif .ifc \xmm,%xmm8 \opd = 8 .endif .ifc \xmm,%xmm9 \opd = 9 .endif .ifc \xmm,%xmm10 \opd = 10 .endif .ifc \xmm,%xmm11 \opd = 11 .endif .ifc \xmm,%xmm12 \opd = 12 .endif .ifc \xmm,%xmm13 \opd = 13 .endif .ifc \xmm,%xmm14 \opd = 14 .endif .ifc \xmm,%xmm15 \opd = 15 .endif .endm .macro REG_TYPE type reg R32_NUM reg_type_r32 \reg R64_NUM reg_type_r64 \reg XMM_NUM reg_type_xmm \reg .if reg_type_r64 <> REG_NUM_INVALID \type = REG_TYPE_R64 .elseif reg_type_r32 <> REG_NUM_INVALID \type = REG_TYPE_R32 .elseif reg_type_xmm <> REG_NUM_INVALID \type = REG_TYPE_XMM .else \type = REG_TYPE_INVALID .endif .endm .macro PFX_OPD_SIZE .byte 0x66 .endm .macro PFX_REX opd1 opd2 W=0 .if ((\opd1 | \opd2) & 8) || \W .byte 0x40 | ((\opd1 & 8) >> 3) | ((\opd2 & 8) >> 1) | (\W << 3) .endif .endm .macro MODRM mod opd1 opd2 .byte \mod | (\opd1 & 7) | ((\opd2 & 7) << 3) .endm .macro PSHUFB_XMM xmm1 xmm2 XMM_NUM pshufb_opd1 \xmm1 XMM_NUM pshufb_opd2 \xmm2 PFX_OPD_SIZE PFX_REX pshufb_opd1 pshufb_opd2 .byte 0x0f, 0x38, 0x00 MODRM 0xc0 pshufb_opd1 pshufb_opd2 .endm .macro PCLMULQDQ imm8 xmm1 xmm2 XMM_NUM clmul_opd1 \xmm1 XMM_NUM clmul_opd2 \xmm2 PFX_OPD_SIZE PFX_REX clmul_opd1 clmul_opd2 .byte 0x0f, 0x3a, 0x44 MODRM 0xc0 clmul_opd1 clmul_opd2 .byte \imm8 .endm .macro PEXTRD imm8 xmm gpr R32_NUM extrd_opd1 \gpr XMM_NUM extrd_opd2 \xmm PFX_OPD_SIZE PFX_REX extrd_opd1 extrd_opd2 .byte 0x0f, 0x3a, 0x16 MODRM 0xc0 extrd_opd1 extrd_opd2 .byte \imm8 .endm .macro AESKEYGENASSIST rcon xmm1 xmm2 XMM_NUM aeskeygen_opd1 \xmm1 XMM_NUM aeskeygen_opd2 \xmm2 PFX_OPD_SIZE PFX_REX aeskeygen_opd1 aeskeygen_opd2 .byte 0x0f, 0x3a, 0xdf MODRM 0xc0 aeskeygen_opd1 aeskeygen_opd2 .byte \rcon .endm .macro AESIMC xmm1 xmm2 XMM_NUM aesimc_opd1 \xmm1 XMM_NUM aesimc_opd2 \xmm2 PFX_OPD_SIZE PFX_REX aesimc_opd1 aesimc_opd2 .byte 0x0f, 0x38, 0xdb MODRM 0xc0 aesimc_opd1 aesimc_opd2 .endm .macro AESENC xmm1 xmm2 XMM_NUM aesenc_opd1 \xmm1 XMM_NUM aesenc_opd2 \xmm2 PFX_OPD_SIZE PFX_REX aesenc_opd1 aesenc_opd2 .byte 0x0f, 0x38, 0xdc MODRM 0xc0 aesenc_opd1 aesenc_opd2 .endm .macro AESENCLAST xmm1 xmm2 XMM_NUM aesenclast_opd1 \xmm1 XMM_NUM aesenclast_opd2 \xmm2 PFX_OPD_SIZE PFX_REX aesenclast_opd1 aesenclast_opd2 .byte 0x0f, 0x38, 0xdd MODRM 0xc0 aesenclast_opd1 aesenclast_opd2 .endm .macro AESDEC xmm1 xmm2 XMM_NUM aesdec_opd1 \xmm1 XMM_NUM aesdec_opd2 \xmm2 PFX_OPD_SIZE PFX_REX aesdec_opd1 aesdec_opd2 .byte 0x0f, 0x38, 0xde MODRM 0xc0 aesdec_opd1 aesdec_opd2 .endm .macro AESDECLAST xmm1 xmm2 XMM_NUM aesdeclast_opd1 \xmm1 XMM_NUM aesdeclast_opd2 \xmm2 PFX_OPD_SIZE PFX_REX aesdeclast_opd1 aesdeclast_opd2 .byte 0x0f, 0x38, 0xdf MODRM 0xc0 aesdeclast_opd1 aesdeclast_opd2 .endm .macro MOVQ_R64_XMM opd1 opd2 REG_TYPE movq_r64_xmm_opd1_type \opd1 .if movq_r64_xmm_opd1_type == REG_TYPE_XMM XMM_NUM movq_r64_xmm_opd1 \opd1 R64_NUM movq_r64_xmm_opd2 \opd2 .else R64_NUM movq_r64_xmm_opd1 \opd1 XMM_NUM movq_r64_xmm_opd2 \opd2 .endif PFX_OPD_SIZE PFX_REX movq_r64_xmm_opd1 movq_r64_xmm_opd2 1 .if movq_r64_xmm_opd1_type == REG_TYPE_XMM .byte 0x0f, 0x7e .else .byte 0x0f, 0x6e .endif MODRM 0xc0 movq_r64_xmm_opd1 movq_r64_xmm_opd2 .endm .macro RDPID opd REG_TYPE rdpid_opd_type \opd .if rdpid_opd_type == REG_TYPE_R64 R64_NUM rdpid_opd \opd .else R32_NUM rdpid_opd \opd .endif .byte 0xf3 .if rdpid_opd > 7 PFX_REX rdpid_opd 0 .endif .byte 0x0f, 0xc7 MODRM 0xc0 rdpid_opd 0x7 .endm #endif #endif