Hacker News new | ask | show | jobs
by caf 3608 days ago
This isn't the kind of instruction a compiler would emit for regular code.
1 comments

What would this be used for?
Kernel direct access to Xpoint and similar DIMMs. Potentially applications via mmap. You'd probably write a simple assembly function for it and invoke that from a language that can call assembly routines.

Obvious applications are filesystems and databases.

Hand-written stuff. You'd do asm volatile ("pcommit"); or similar.