Files
linux-kernel-module-cheat/userland/arch/x86_64/fldl_literal.S
2019-07-07 00:00:01 +00:00

19 lines
359 B
ArmAsm

/* https://cirosantilli.com/linux-kernel-module-cheat#x86-x87-fpu-instructions */
#include <lkmc.h>
.data
double_1_5: .double 1.5
.bss
double_1_5_2: .skip 8
LKMC_PROLOGUE
#if 0
/* Error: junk `.5' after expression */
movq $1.5, double_1_5_2
fldl double_1_5
fldl double_1_5_2
fcomi %st(1)
LKMC_ASSERT(je)
#endif
LKMC_EPILOGUE