search for: __builtin_read_world

Displaying 1 result from an estimated 1 matches for "__builtin_read_world".

2010 Sep 25
2
[LLVMdev] custom lowering with multiple results
...g problems with: trying to use LowerOperation to replace one node with two nodes. Imagine I have a new instruction "read_world" that sets the status flags according to some kind of global state. In order to generate this instruction I have a built-in function with the prototype "int __builtin_read_world(void)". I also have a new instruction "read_flags" that sets a register according to the status flags so I can translate a call to __builtin_read_world into a "read_world" followed by a "read_flags" (at least as a last resort; I'm expecting the "read_fla...