mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
15 lines
313 B
ArmAsm
15 lines
313 B
ArmAsm
/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-sse-data-transfer-instructions */
|
|
|
|
#include <lkmc.h>
|
|
|
|
.data
|
|
input: .float 1.5
|
|
.bss
|
|
output: .skip 4
|
|
LKMC_PROLOGUE
|
|
movss input, %xmm0
|
|
movss %xmm0, %xmm1
|
|
movss %xmm1, output
|
|
LKMC_ASSERT_MEMCMP(input, output, $4)
|
|
LKMC_EPILOGUE
|