[PATCH] D43814: [x86][CET] Introduce _get_ssp, _inc_ssp intrinsics

Gabor Buella via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 2 02:11:02 PST 2018


GBuella added inline comments.


================
Comment at: lib/Headers/cetintrin.h:45
+static __inline__ void __DEFAULT_FN_ATTRS _inc_ssp(unsigned int __a) {
+  __builtin_ia32_incsspq(__a);
+}
----------------
craig.topper wrote:
> Where is the zeroing behavior for older CPUs coming from? This implementation looks identical to _incsspq?
Do we need some zeroing behaviour for _inc_ssp?
I know we need it for _get_ssp.


Repository:
  rC Clang

https://reviews.llvm.org/D43814





More information about the cfe-commits mailing list