https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92934

            Bug ID: 92934
           Summary: mips jump to invalid address
           Product: gcc
           Version: 8.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: pechenskih.stas at ya dot ru
  Target Milestone: ---

Created attachment 47491
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47491&action=edit
dump-elf

Hello. 

I tried to add support for the Allegrex architecture (based on mips r4000).
After building the compiler, I started testing it and found that I can't access
a variable of type float. All times i got something like

23:57:284 user_main    E[JIT]: x86\compbranch.cpp:606 Jump to invalid address:
02428dd0 PC 0890a364 LR 0890a374
23:57:284 user_main    E[JIT]: x86\compbranch.cpp:606 Jump to invalid address:
02428dd0 PC 0890a36c LR 0890a374
23:57:284 user_main    E[JIT]: x86\compbranch.cpp:606 Jump to invalid address:
02428dd0 PC 0890a374 LR 0890a374
23:57:284 user_main    E[JIT]: x86\compbranch.cpp:597 Branch in Jump delay slot
at 0890a378 in block starting at 0890a364
23:57:284 user_main    E[JIT]: x86\compbranch.cpp:606 Jump to invalid address:
02428dd0 PC 0890a374 LR 0890a374
23:57:284 user_main    E[JIT]: x86\compbranch.cpp:597 Branch in Jump delay slot
at 0890a378 in block starting at 0890a374

I have only recently started to dive into such a low level of programming, so I
do not understand everything and what i do it's only for cognition as well.

I create a simple exaple with declare float type variable and print value.
I checked other types like this and all works fine except float type.
PS: all psp library got here https://github.com/pspdev/pspsdk

Reply via email to