zig icon indicating copy to clipboard operation
zig copied to clipboard

Add missing assembly instruction to the x86 backend

Open Arnau478 opened this issue 9 months ago • 0 comments

The x86 backend was missing some important instructions. They're not generated by the compiler, but having them ensures they can be used in inline assembly. Added tests for all of them. Control registers where also added. A list of added instructions:

  • rdmsr
  • wrmsr
  • sysret
  • cmc
  • clc
  • stc
  • cli
  • sti
  • cld
  • std

Fixes #19773

Arnau478 avatar May 23 '24 19:05 Arnau478