[BRIGFE] Support BRIG_KIND_NONE directives

Programming / Compilers / GCC - visit0r [138bc75d-0d04-0410-961f-82ee72b054a4] - 9 October 2017 09:06 EDT

These directives are legal everywhere. They can be used to patch away BRIG entries at the binary level.

Also add extra error detection for zeroed regions: make sure the byteCount field is never zero.

The call code still failed a few PRM test cases. Now all PRM branch cases pass again.

6216aff [BRIGFE] Support BRIG_KIND_NONE directives.
gcc/brig/ChangeLog | 15 +++++++++++++++
gcc/brig/brigfrontend/brig-branch-inst-handler.cc | 7 +++----
gcc/brig/brigfrontend/brig-to-generic.cc | 12 ++++++++++--
gcc/brig/brigfrontend/phsa.h | 5 +++--
4 files changed, 31 insertions(+), 8 deletions(-)

Upstream: gcc.gnu.org


  • Share