LLVM part was posted as D12277
Diff Detail
Event Timeline
lib/Headers/Intrin.h | ||
---|---|---|
961 | I think using a builtin is, generally, cleaner. |
lib/Headers/Intrin.h | ||
---|---|---|
961 | Yes, that is the preference in my experience. Please do switch to the inline asm option. |
lib/Headers/Intrin.h | ||
---|---|---|
961 | I guess the distinction between these operations and others is that it isn't useful for the compiler to try to reason about these instructions, in the way that it's useful for it to reason about vector intrinsics. I'm happy with either LLVM intrinsics or inline asm. |
Why does this need a builtin? Is an inline assembly block using lgdt insufficient for some reason?