Processors with support for compact branch instructions & methods
After a compiler inserts a branch instruction into an object file 309, it examines the next instruction to be inserted 314. If that instruction is allowed after a branch, it is inserted 316. If it is not allowed, the compiler attempts to identify a different instruction, which may be inserted 320. I...
Saved in:
Main Author | |
---|---|
Format | Patent |
Language | English |
Published |
16.11.2016
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | After a compiler inserts a branch instruction into an object file 309, it examines the next instruction to be inserted 314. If that instruction is allowed after a branch, it is inserted 316. If it is not allowed, the compiler attempts to identify a different instruction, which may be inserted 320. If such an instruction is identified it is inserted 325. Otherwise, the compiler determines whether the target architecture supports generating exceptions when a forbidden instruction is detected after a branch 322. If exceptions are supported, the original instruction is inserted 328. Otherwise a no-op instruction is inserted 318. The compiler may be a high level language pre-execution compiler or a byte code just in time compiler. |
---|---|
Bibliography: | Application Number: GB20160010274 |