Repository navigation
examples: add cpu_features/ folder, containing several examples, using SSE and MMX assembly instructions - #22645
Conversation
|
TCC ( |
|
Those examples of using specific CPU instructions, are not portable. |
I think this is an attempt to support different instruction sets that can be used for different CPUs, even for the same CPU. |
I will change it to In lscpu output, these "flags" represent various supported capabilities of the processor, such as: SIMD extensions (e.g., SSE, AVX): Indicate support for specific SIMD instruction sets. Virtualization support (e.g., VT-x, AMD-V): Show if the CPU supports hardware virtualization. Security features (e.g., NX, SMEP): Indicate protections like No-eXecute bit or Supervisor Mode Execution Protection. |
|
Note that the existing ASM example If I am on a new ARM based Mac, and try to do: This is not the case for the examples in this PR. |
|
Will you add the conditional checks, or should I just close the PR? |
I'll add it. Sorry for the delay, I got caught up in other projects. If anyone is interested in making these changes for me, I'd be very happy!! |
49ecece to
4932e98
Compare
…error: no link target found for existing link [References](#references)
…s not support inline assembly)
88e0158 to
a60a6d5
Compare
Huly®: V_0.6-21094