mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
19 lines
359 B
ArmAsm
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
|