mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2025-01-13 16:16:31 +00:00
chore: bare-metal optimizations code indent fix
This commit is contained in:
parent
de2b050a6f
commit
9701ae8937
1 changed files with 4 additions and 4 deletions
|
@ -68,10 +68,10 @@ _MEMCOPY::
|
||||||
MOV RDI, U64 SF_ARG1[RBP] // dst
|
MOV RDI, U64 SF_ARG1[RBP] // dst
|
||||||
MOV RSI, U64 SF_ARG2[RBP] // src
|
MOV RSI, U64 SF_ARG2[RBP] // src
|
||||||
MOV RCX, U64 SF_ARG3[RBP] // count
|
MOV RCX, U64 SF_ARG3[RBP] // count
|
||||||
TEST RDI, 0xF // check if dst is 16byte aligned
|
TEST RDI, 0xF // check if dst is 16byte aligned
|
||||||
JNZ @@05 // if not 16byte aligned, jump down to MOVUPS unaligned checks
|
JNZ @@05 // if not 16byte aligned, jump down to MOVUPS unaligned checks
|
||||||
TEST RSI, 0xF // check if src is 16byte aligned
|
TEST RSI, 0xF // check if src is 16byte aligned
|
||||||
JNZ @@05 // if not 16byte aligned, jump down to MOVUPS unaligned checks
|
JNZ @@05 // if not 16byte aligned, jump down to MOVUPS unaligned checks
|
||||||
@@03: // SSE 128-bit ALIGNED memcopy (count >= 16)
|
@@03: // SSE 128-bit ALIGNED memcopy (count >= 16)
|
||||||
CMP RCX, 16 // count <, >, == 16 bytes?
|
CMP RCX, 16 // count <, >, == 16 bytes?
|
||||||
JL @@10 // if count less than 16, jump down
|
JL @@10 // if count less than 16, jump down
|
||||||
|
|
Loading…
Reference in a new issue