Re-commit r366322 after some fixes TME is a future architecture technology, documented in https://developer.arm.com/architectures/cpu-architecture/a-profile/exploration-tools https://developer.arm.com/docs/ddi0601/a More about the future architectures: https://community.arm.com/developer/ip-products/processors/b/processors-ip-blog/posts/new-technologies-for-the-arm-a-profile-architecture This patch adds support for the TME instructions TSTART, TTEST, TCOMMIT, and TCANCEL and the target feature/arch extension "tme". It also implements TME builtin functions, defined in ACLE Q2 2019 (https://developer.arm.com/docs/101028/latest) Differential Revision: https://reviews.llvm.org/D64416 Patch by Javed Absar and Momchil Velikov llvm-svn: 367428
9 lines
278 B
C
9 lines
278 B
C
// RUN: %clang_cc1 -triple aarch64-eabi -verify %s
|
|
|
|
#include "arm_acle.h"
|
|
|
|
void test_no_tme_funcs() {
|
|
__tstart(); // expected-warning{{implicit declaration of function '__tstart'}}
|
|
__builtin_tstart(); // expected-error{{use of unknown builtin '__builtin_tstart'}}
|
|
}
|