• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: GCC fubaring register
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GCC fubaring register


  • Subject: Re: GCC fubaring register
  • From: Andrew Pinski <email@hidden>
  • Date: Mon, 12 Jun 2006 20:28:09 -0700


On Jun 12, 2006, at 1:32 PM, Ryan Govostes wrote:

I'm working with the following function, trimmed down to demonstrate my problem

PPC Darwin's ABI does not have TOC and R2 is considered volatile through function calls
just like r0.


What are you really trying to do?

Note:
	asm("mr %0, r2\n\t" : "=r" (toc) : : "r2" );
is wrong as you are not clobbering r2 at all.

-- Pinski _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
References: 
 >GCC fubaring register (From: Ryan Govostes <email@hidden>)

  • Prev by Date: Re: GCC fubaring register
  • Next by Date: Re: HFS + and creating a big file
  • Previous by thread: Re: GCC fubaring register
  • Next by thread: darwinbuild for 10.4.6 PPC
  • Index(es):
    • Date
    • Thread