PaulH
PaulH

Reputation: 7863

unknown opcode using ARM NEON instructions with Microsoft ARM assembler

I am using the Microsoft ARM Assembler v15.00.20720 (armasm.exe) that came with Visual Studio 2008. I am trying to build an assembly file that uses ARM Cortex-A8 NEON instructions, but I am getting "unknown opcode" errors for VLD1 and VST1 instructions My processor is a TI OMAP 3430.

My command line:

armasm -32 -CPU ARM8 myfile.asm  myfile.obj

For example:

VLD1.64 {d0-d3}, [r1@128]! ; unknown opcode VLD1
VST1.64 {d4-d7}, [r3@128]! ; unknown opcode VST1

How can I solve these errors?

Upvotes: 1

Views: 1568

Answers (1)

Igor Skochinsky
Igor Skochinsky

Reputation: 25318

VS2008's armasm supports ARM architectures only up to ARMv6 (ARM11) which does not include NEON. (the doc says only up to v5 but I think it got extended in SP1.)

For ARMv7 you can use either a recent WinCE (=Windows Embedded Compact) Platform Builder or Visual Studio 2012 (though I'm not 100% sure if VS2012 supports targeting WinCE).

Upvotes: 1

Related Questions