When I try to assemble AesOpt.asm in VS2005, I get
Error 1 error A2008: syntax error : xmm0 c:\LocalDev\7za915\Asm\x86\AesOpt.asm 103
Error 2 error A2008: syntax error : xmm1 c:\LocalDev\7za915\Asm\x86\AesOpt.asm 103
Error 3 error A2008: syntax error : xmm2 c:\LocalDev\7za915\Asm\x86\AesOpt.asm 103
Error 4 error A2008: syntax error : xmm3 c:\LocalDev\7za915\Asm\x86\AesOpt.asm 103
I get these 3 times for line 103
Get similar errors on lines 118, 157, 210.
Iine 103: DECODE LOAD_OP_W
line 118: DECODE LOAD_OP
line 157: ENCODE LOAD_OP
line 210: ENCODE LOAD_OP_W
It looks like LOAD_OP and LOAD_OP_W require 2 arguments.
Please help.
Thanks,
Peter
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
But the ml.exe i used in my second try(VC6) should be all the same as the one in the 3rd try (Visual Studio 6), maybe the only difference was I didn't include VC6 native includes/libs in the former.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When I try to assemble AesOpt.asm in VS2005, I get
Error 1 error A2008: syntax error : xmm0 c:\LocalDev\7za915\Asm\x86\AesOpt.asm 103
Error 2 error A2008: syntax error : xmm1 c:\LocalDev\7za915\Asm\x86\AesOpt.asm 103
Error 3 error A2008: syntax error : xmm2 c:\LocalDev\7za915\Asm\x86\AesOpt.asm 103
Error 4 error A2008: syntax error : xmm3 c:\LocalDev\7za915\Asm\x86\AesOpt.asm 103
I get these 3 times for line 103
Get similar errors on lines 118, 157, 210.
Iine 103: DECODE LOAD_OP_W
line 118: DECODE LOAD_OP
line 157: ENCODE LOAD_OP
line 210: ENCODE LOAD_OP_W
It looks like LOAD_OP and LOAD_OP_W require 2 arguments.
Please help.
Thanks,
Peter
Hi, I encountered this problem too using nmake.
I even tried ml.exe from vc6, but it didn't work.
Finally I opened the project with visual studio 6, and oddly it passed assembling. WTF?
So I just copied out the aesopt.obj and continued the nmake session, resulting a good output.
If you don't have Visual Studio 6, you can get AesOpt.obj here: http://www.mediafire.com/?mu6kc6xd0u5y5cx
You have old assembler that doesn't support AES instructions.
And in some folder you have new assembler. So it worked in that case.
Try to search all ml.exe files and think.
But the ml.exe i used in my second try(VC6) should be all the same as the one in the 3rd try (Visual Studio 6), maybe the only difference was I didn't include VC6 native includes/libs in the former.
Search all ml.exe files on your disk, and you will see that there is new ml.exe in some folder, and VC6 uses it.
I got the same results in vs2008 !!
---- Build started: Project: 7z, Configuration: Release Win32 ----
Performing Custom Build Step
Assembling: F:\MS\7z920\Asm\x86\AesOpt.asm
F:\MS\7z920\Asm\x86\AesOpt.asm(103) : error A2008:syntax error : xmm0
。。。。。。。。。。。。。。。。。。。
F:\MS\7z920\Asm\x86\AesOpt.asm(210) : error A2008:syntax error : xmm2
How to solve?
Install latest Service Pack for VS2008.
Thanks ipavlov.
I had update VS2008 to Service Pack 1
Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1
Copyright (C) Microsoft Corporation. All rights reserved.
Linking…
Creating library .\Release/7z.lib and object .\Release/7z.exp
Embedding manifest…
Build log was saved at "file://f:\MS\7z920\CPP\7zip\Bundles\Format7zF\Release\BuildLog.htm"
7z - 0 error(s), 0 warning(s)
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========