Re: Compiler options for PowerPC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



If your simulator doesn't support the actual instruction, rlwinm
in this case, you better get it fixed.

The rlwinm instruction of course is supported.

Good :-)

I accidentally thought
the clrlwi instruction was the problem but it turned out that in fact
the simulator aborts when executing the dcbt instruction.
This instruction is a cache prefetch instruction.

Is there a compiler option for disabling the dcbt instruction and similar cache control instructions?

See Ian's answer.

It probably would be best for you to get the simulator fixed
anyway; since the simulator doesn't seem to simulate the caches
at all (or it would definitely have to support the dcbX insns!),
it can just "nop" that instruction.  Should be really easy to
add to the simulator.


Segher


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux