From 5c3532597a924b256db2bf670bba0887d6fbb460 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Mon, 20 Aug 2018 01:33:09 -0400 Subject: [PATCH] Whitespace check-in --- cpu.cpp | 1 - x64dll.asm | 6 ++---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/cpu.cpp b/cpu.cpp index 67d4efba..0330451b 100644 --- a/cpu.cpp +++ b/cpu.cpp @@ -1,4 +1,3 @@ - // cpu.cpp - originally written and placed in the public domain by Wei Dai #include "pch.h" diff --git a/x64dll.asm b/x64dll.asm index 7857f5f1..0adb5c11 100644 --- a/x64dll.asm +++ b/x64dll.asm @@ -1966,11 +1966,9 @@ SHA256_HashMultipleBlocks_SSE2 ENDP ALIGN 8 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 -DB 0fh -DB 01h -DB 0d0h +DB 0fh, 01h, 0d0h ;; xcr = (EDX << 32) | EAX and rax, 0ffffffffh shl rdx, 32