Displaying 2 results from an estimated 2 matches for "getjumptargetopvalue".
2017 Jan 19
3
Got stuck with PC-rel branching
...ptarget:$addr), Branch32 class
- Branch32 class is defined in EpiphanyInstrFormats.td with bits<24> addr,
which should go into bits{31-8} of the MC instruction. Those bits remain
zeros after relaxation for some reason.
- jmptarget operand has type OPERAND_PCREL, and uses EncoderMethod
"getJumpTargetOpValue" defined in EpiphanyMCCodeEmitter. If this method
gets MCExpr, it creates fixup, and I can see this fixup in debug.
- Fixup is called fixup_Epiphany_PCREL24, and is defined in
EpiphanyFixupKinds and EpiphanyAsmBackend, with FKF_IsPCRel flag.
Can someone please tell me if I am missing somet...
2017 Jan 19
2
Got stuck with PC-rel branching
...t;
> - Branch32 class is defined in EpiphanyInstrFormats.td with bits<24> addr,
> which should go into bits{31-8} of the MC instruction. Those bits remain
> zeros after relaxation for some reason.
>
> - jmptarget operand has type OPERAND_PCREL, and uses EncoderMethod
> "getJumpTargetOpValue" defined in EpiphanyMCCodeEmitter. If this method
> gets MCExpr, it creates fixup, and I can see this fixup in debug.
>
> - Fixup is called fixup_Epiphany_PCREL24, and is defined in
> EpiphanyFixupKinds and EpiphanyAsmBackend, with FKF_IsPCRel flag.
>
>
>
> Can someone...