Whitespace check-in
parent
082ad86132
commit
5c3532597a
1
cpu.cpp
1
cpu.cpp
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
// cpu.cpp - originally written and placed in the public domain by Wei Dai
|
// cpu.cpp - originally written and placed in the public domain by Wei Dai
|
||||||
|
|
||||||
#include "pch.h"
|
#include "pch.h"
|
||||||
|
|
|
||||||
|
|
@ -1966,11 +1966,9 @@ SHA256_HashMultipleBlocks_SSE2 ENDP
|
||||||
|
|
||||||
ALIGN 8
|
ALIGN 8
|
||||||
ExtendedControlRegister PROC
|
ExtendedControlRegister PROC
|
||||||
;; First paramter is RCX, and xgetbv expects the CTR in ECX
|
;; First paramter is RCX, and xgetbv expects the CTRL in ECX
|
||||||
;; http://www.agner.org/optimize/vectorclass/read.php?i=65
|
;; http://www.agner.org/optimize/vectorclass/read.php?i=65
|
||||||
DB 0fh
|
DB 0fh, 01h, 0d0h
|
||||||
DB 01h
|
|
||||||
DB 0d0h
|
|
||||||
;; xcr = (EDX << 32) | EAX
|
;; xcr = (EDX << 32) | EAX
|
||||||
and rax, 0ffffffffh
|
and rax, 0ffffffffh
|
||||||
shl rdx, 32
|
shl rdx, 32
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue