Forums - Multiple writes to same register

1 post / 0 new
Multiple writes to same register
chenxin511
Join Date: 25 Jun 17
Posts: 5
Posted: Sun, 2017-07-02 20:28

Hi, everyone

When I run my assembler code, the main thread creashed and throw an exception:

I think the exception was: 0x1d, Multiple writes to same register

I run the program use Hexagon v60 HVX on simulator, and the sdk version is 3.2. OS is ubuntu.

The code is very simple, jusk like this:

v0 = vmemu(r0 + #0)

v1 = vmemu(r1 + #0)

v2 = vmemu(r0 + #1)

v3 = vmemu(r1 + #1)

v4 = vadd(v0, v1)

v5 = vadd(v2, v3)

each instruction is a packet.

Have someone met this problem before?

Help!

Thanks!

 

  • Up0
  • Down0

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.