Re: [openssl.org #1526] x86cpuid-elf.s cannot be compiled by Sun assembler on x86

2007-05-20 Thread Victor B. Wagner
On 2007.05.19 at 20:20:14 +0200, Andy Polyakov via RT wrote: In the revision 1.9 of file x86cpuid.pl there appeared block with some setne instructions: These instructions are translated under Solaris x86 into setneb assembler instruction which causes Illegal mnemonic error with

Re: [openssl.org #1526] x86cpuid-elf.s cannot be compiled by Sun assembler on x86

2007-05-20 Thread Andy Polyakov
Also, expression and (edx, ~(128)) is incorrectly translated into andl$18446744073441116159,%edx on 32-bit platform (should be andl $4026531839,%edx ) which causes as to complain about Value out of range. It looks like problem somewhere in the perlasm which incorrectly uses

Re: [openssl.org #1526] x86cpuid-elf.s cannot be compiled by Sun assembler on x86

2007-05-19 Thread Andy Polyakov via RT
In the revision 1.9 of file x86cpuid.pl there appeared block with some setne instructions: These instructions are translated under Solaris x86 into setneb assembler instruction which causes Illegal mnemonic error with /usr/ccs/bin/as Also, expression and (edx, ~(128)) is incorrectly

[openssl.org #1526] x86cpuid-elf.s cannot be compiled by Sun assembler on x86

2007-05-16 Thread Victor B. Wagner via RT
In the revision 1.9 of file x86cpuid.pl there appeared block with some setne instructions: -- xor(eax,eax); cpuid (); xor(eax,eax); cmp(ebx,0x756e6547); # Genu setne (LB(eax)); mov(ebp,eax); cmp