Displaying 4 results from an estimated 4 matches for "vcvttsd2siq".
2012 Jul 15
3
[LLVMdev] clan -x assembler fails on vcvttsd2siq instruction
...mbler to use avx instructions on Mac.
I use gcc 4.7.1 to generate .s files from .c files. I can assemble foo.s by
clang -c -x assembler foo.s
to get foo.o but
clang -c -x assembler foo_long.s
fails with
$clang -x assembler foo_long.s
foo_long.s:27:2: error: invalid instruction mnemonic 'vcvttsd2siq'
vcvttsd2siq %xmm0, %rax
^~~~~~~~~~~
clang can assemble many other .s files with avx instructions. I tried the default clang, clang+llvm 3.1 binary and svn checked out llvm/clang. All same.
Have you any idea?
Thank you so much!
Nobu
Nobu Katayama
nobu.katayama at ipmu...
2012 Jul 18
2
[LLVMdev] clan -x assembler fails on vcvttsd2siq instruction
...can assemble foo.s by
>>
>> clang -c -x assembler foo.s
>>
>> to get foo.o but
>>
>> clang -c -x assembler foo_long.s
>>
>> fails with
>>
>> $clang -x assembler foo_long.s
>> foo_long.s:27:2: error: invalid instruction mnemonic 'vcvttsd2siq'
>> vcvttsd2siq %xmm0, %rax
>> ^~~~~~~~~~~
>>
>> clang can assemble many other .s files with avx instructions. I tried the
> default clang, clang+llvm 3.1
>> binary and svn checked out llvm/clang. All same.
>>
>> Have you any ide...
2012 Jul 16
0
[LLVMdev] clan -x assembler fails on vcvttsd2siq instruction
...to generate .s files from .c files. I can assemble foo.s by
>
> clang -c -x assembler foo.s
>
> to get foo.o but
>
> clang -c -x assembler foo_long.s
>
> fails with
>
> $clang -x assembler foo_long.s
> foo_long.s:27:2: error: invalid instruction mnemonic 'vcvttsd2siq'
> vcvttsd2siq %xmm0, %rax
> ^~~~~~~~~~~
>
> clang can assemble many other .s files with avx instructions. I tried the
default clang, clang+llvm 3.1
> binary and svn checked out llvm/clang. All same.
>
> Have you any idea?
>
> Thank you so much...
2012 Jul 19
0
[LLVMdev] clan -x assembler fails on vcvttsd2siq instruction
Hi Nobu,
> Thanks for response. Will this be fixed sometime soon?
did you open a bug report?
> Is there anything I can do to make it work in my copy of the latest llvm source?
Are you sure that
vcvttsd2siq %xmm0, %rax
is correct and this isn't a gcc bug?
Ciao, Duncan.
>
> Best,
> Nobu
>
> 2012/7/17 jj <h59213 at rtrtr.com>:
>> 片山 伸彦 <nobu.katayama <at> ipmu.jp> writes:
>>
>>>
>>> Dear llvm developers,
>>>
>>>...