Adding a conditional declaration for XMMWORD allows either MASM 6, MASM 7, or
MASM 8 to assemble
OpenSSL 0.9.8g correctly, including the SSE2 instructions in sha512-sse2.asm:
IF @Version LT 800
XMMWORD STRUCT 16
DQ 2 dup (?)
XMMWORD ENDS
ENDIF
Fixed per
Adding a conditional declaration for XMMWORD allows either MASM 6, MASM 7, or
MASM 8 to assemble
OpenSSL 0.9.8g correctly, including the SSE2 instructions in sha512-sse2.asm:
IF @Version LT 800
XMMWORD STRUCT 16
DQ 2 dup (?)
XMMWORD ENDS
ENDIF
x86ms.pl could do this:
---
Starting with OpenSSL 0.9.8f, Windows builds using ms\do_masm.bat generate .asm
files with the MASM
directive XMMWORD.
XMMWORD was added to MASM 8 (Visual Studio C++ 2005).
ref: http://msdn2.microsoft.com/en-us/library/cw0399sf(VS.80).aspx
This prevents building OpenSSL via ms\do_masm.bat with
[EMAIL PROTECTED] - Thu Oct 18 09:05:32 2007]:
Starting with OpenSSL 0.9.8f, Windows builds using ms\do_masm.bat
generate .asm files with the MASM
directive XMMWORD.
XMMWORD was added to MASM 8 (Visual Studio C++ 2005).
ref: http://msdn2.microsoft.com/en-us/library/cw0399sf(VS.80).aspx
MASM 6.15+ includes support for the SSE2 instructions, like movdqa, movdqu, etc.
It is only the XMMWORD directive that forces the use of the Visual Studio 2005
assembler.
If QWORD is substituted for XMMWORD, MASM 6 can assemble the .asm sources.
Testing OpenSSL built with MASM 6 and this 'QWORD'