]> granicus.if.org Git - clang/commit
AArch64: allow 64-bit access to sysregs.
authorTim Northover <tnorthover@apple.com>
Wed, 13 Apr 2016 17:08:55 +0000 (17:08 +0000)
committerTim Northover <tnorthover@apple.com>
Wed, 13 Apr 2016 17:08:55 +0000 (17:08 +0000)
commit4329eca357ee23753ccf00c9c0602d216739dee9
treeb22a48577c2b6cc9bce28e988f870eff0a5f36f3
parent11b940607f9dab3090ae05f268c2815d9f60bf87
AArch64: allow 64-bit access to sysregs.

Although all the registers are actually 32-bits, I think we have to assume the
high 32-bits could be RES0 (the ARM ARM is unclear). If so, reading as a 32-bit
register can require extra zero extension operations.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@266212 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaChecking.cpp
test/Sema/aarch64-special-register.c