Displaying 1 result from an estimated 1 matches for "l357".
Did you mean:
357
2016 Nov 16
6
[SPARC]: leon2 and leon3: not respecting delayed-write to Y-register
...ions. (Some years ago, there was this
HazardRecognition-class in the scheduler which could be used for
that.)
The easy solution would be to simply add three NOPs the moment where
the WRY instruction is added:
https://github.com/llvm-mirror/llvm/blob/master/lib/Target/Sparc/SparcISelDAGToDAG.cpp#L357
I'd appreciate any help and guidances of how to fix this problem.
Starting with adding NOPs and maybe adding a pass to the LEONPasses.
(There is the Filler-pass, is this the right one?)
--- Code example:
clang compiles the following c-code:
int main(void)
{
int *a = (int *) 0x...