Forums - hexagon-clang error: v60 packet violation

1 post / 0 new
hexagon-clang error: v60 packet violation
ilya.kurdyukov
Join Date: 28 Oct 15
Posts: 1
Posted: Thu, 2015-12-17 08:37

$ hexagon-clang --version
Target: hexagon
Thread model: posix
QuIC LLVM Hexagon Clang version 7.2.10
$ cat test.c

#include "hexagon_types.h"

HVX_Vector test(HVX_Vector (*func)()) {
  return Q6_Vh_vadd_VhVh(func(), func());
}

$ hexagon-clang -mv60 -O2 -mhvx-double -c -o test.o test.c
/tmp/test-f16d37.s:22:2: error: v60 packet violation
        }
        ^
clang-3.5: error: hexagon-llvm-mc command failed with exit code 1 (use -v to see invocation)
 

  • 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.