Re: GNU replacing obsolete assembly instructions in PowerPc architecture

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

 



* ilya german:

> I have a quastion regarding reading TBR registers on PPC p2020 e500v2 CPU.
>
> I wrote the following asm instructions to read the TBR:
>
> mftbu r5 /* Read upper Time Base */
> mftb r6 /* Read lower Time Base */
> mftbu r7 /* Read upper Time Base again */
>
> When I compiled (using GNU 4) and viewed the asm instruction I saw that
> *mftbu* and *mftb* were replaced with *mfspr* instruction.

How did you determine that it was replaced?



[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