[PATCH] D63707: [AArch64] Define ETE and TRBE system registers

Oliver Stannard (Linaro) via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 1 03:36:27 PDT 2019


ostannard added a comment.

> ETE shares most of the system registers with ETM and these were historically unconditionally enabled in LLVM.

I don't think this matters here - existing registers can stay as they are, and the new subtarget features should just cover new registers.

> It would be inconsistent to add a command line option, which enables just the few extra ETE registers

I don't see why this would be inconsistent, we now add subtarget features for every other new optional architectural feature. Maybe we should add a feature for ETM if it is optional, but that doesn't affect this patch.

> or it would break existing builds if we were to explicitly enable ETM registers.

Do you mean if we were to make ETM off by default? Agreed, we shouldn't do that.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D63707/new/

https://reviews.llvm.org/D63707





More information about the llvm-commits mailing list