Skip to content

Commit e144575

Browse files
committed
cleanup unneeded whitespaces
1 parent e3c4cb1 commit e144575

2 files changed

Lines changed: 0 additions & 8 deletions

File tree

HashLib/src/Include/Simd/CpuFeatures/CpuIdQuery.inc

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,12 @@ asm
2323
pop ebx
2424
{$ELSE}
2525
// x86-64: normalize to EAX=ALeaf, ECX=ASubLeaf, R8=AResult, then cpuid.
26-
2726
// Preserve RBX (CPUID clobbers it).
2827
{$IFDEF FPC}
2928
push rbx
3029
{$ELSE}
3130
.PUSHNV RBX
3231
{$ENDIF}
33-
3432
{$IFDEF HASHLIB_SYSV_X64_ABI}
3533
// SysV ABI entry: RDI=ALeaf, RSI=ASubLeaf, RDX=AResult.
3634
mov eax, edi // EAX := ALeaf
@@ -41,14 +39,11 @@ asm
4139
mov eax, ecx // EAX := ALeaf
4240
mov ecx, edx // ECX := ASubLeaf
4341
{$ENDIF}
44-
4542
cpuid
46-
4743
mov dword ptr [r8], eax
4844
mov dword ptr [r8 + 4], ebx
4945
mov dword ptr [r8 + 8], ecx
5046
mov dword ptr [r8 + 12], edx
51-
5247
{$IFDEF FPC}
5348
pop rbx
5449
{$ENDIF}

HashLib/src/Include/Simd/CpuFeatures/XGetBvQuery.inc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,16 @@ asm
1919
pop ebx
2020
{$ELSE}
2121
// x86-64: normalize to R8=AResult, then xgetbv.
22-
2322
{$IFNDEF FPC}
2423
.noframe
2524
{$ENDIF}
26-
2725
{$IFDEF HASHLIB_SYSV_X64_ABI}
2826
// SysV ABI entry: RDI=AResult.
2927
mov r8, rdi // R8 := AResult
3028
{$ELSE}
3129
// MS ABI entry: RCX=AResult.
3230
mov r8, rcx // R8 := AResult
3331
{$ENDIF}
34-
3532
xor ecx, ecx // XCR index 0
3633
db $0F, $01, $D0 // xgetbv -> EDX:EAX
3734
mov dword ptr [r8], eax

0 commit comments

Comments
 (0)