Skip to main content

New answers tagged

Advice
0 votes
0 replies
0 views

C Compiler Optimization MUL 0x70078071?

Thank you both Andrey Turkin and Some programmer dude: stared myself blind on the part of the code I was interested in.
Gyst's user avatar
  • 1
Advice
3 votes
0 replies
0 views

C Compiler Optimization MUL 0x70078071?

I don't think this was the actual source code that got compiled into this. This is more likely the result of the other compile-time option (hardware division enabled). Though I'm not exactly sure what ...
Andrey Turkin's user avatar
Advice
3 votes
0 replies
0 views

C Compiler Optimization MUL 0x70078071?

I recommend you first tell the compiler to give you the preprocessed source, so you see exactly how these macros are expanded. Then build without optimizations to see the "naive" assembly ...
Some programmer dude's user avatar
3 votes

On which Intel CPUs can I use umonitor and umwait instructions?

Nominally, you can use the umonitor/umwait instructions on CPUs that have the WAITPKG bit set, namely Intel CPUs from the Tremont family and later, i.e. on servers Sapphire Rapids and later. However, ...
maxschlepzig's user avatar
  • 40.4k

Top 50 recent answers are included