]> granicus.if.org Git - clang/commit
[Hexagon] Add support for "new" circular buffer intrinsics
authorKrzysztof Parzyszek <kparzysz@codeaurora.org>
Wed, 28 Mar 2018 19:40:57 +0000 (19:40 +0000)
committerKrzysztof Parzyszek <kparzysz@codeaurora.org>
Wed, 28 Mar 2018 19:40:57 +0000 (19:40 +0000)
commit1ec33d54dfc07388c7bc7d637723ceeaa74869ee
tree8a29a017eb80332184699283134ad08c7aecd012
parente3fdb5e25ac1bd27e735acb69ee659210f30ec21
[Hexagon] Add support for "new" circular buffer intrinsics

These instructions have been around for a long time, but we
haven't supported intrinsics for them. The "new" vesrions use
the CSx register for the start of the buffer instead of the K
field in the Mx register.

There is a related llvm patch.

Patch by Brendon Cahoon.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@328725 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/BuiltinsHexagon.def
lib/CodeGen/CGBuiltin.cpp
test/CodeGen/builtins-hexagon-circ.c [new file with mode: 0644]