Aaditya Agarwal created a merge request: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1577

Project:Branches: aaditya8979/rtems:fix-5759 to rtems/rtos/rtems:main
Author: Aaditya Agarwal

_CPU_Instruction_illegal() emitted `.word 0x0`. Major opcode 0 is `add`, so the 
word is `add r0, r0, r0` and retires without an exception unless the core is 
synthesized with `C_OPCODE_0x0_ILLEGAL`. Both this option and 
`C_ILL_OPCODE_EXCEPTION` are synthesis options of the soft core, and QEMU 
defaults both to false.

Use major opcode 0x3f (`0xfc000000`), which is unallocated in the MicroBlaze 
architecture. An invalid major opcode requires only `C_ILL_OPCODE_EXCEPTION` to 
raise an illegal opcode exception.

Closes #5759

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1577
You're receiving this email because of your account on gitlab.rtems.org. 
Unsubscribe from this thread: 
https://gitlab.rtems.org/-/namespace/49/sent_notifications/6-5wbwuhlwdufrb32b4slqotxad-1d/unsubscribe
 | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | 
Help: https://gitlab.rtems.org/help


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to