| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On Nov 16, 2004, at 5:46 AM, Steven J Abner wrote:
On Tuesday, November 16, 2004, at 01:38 AM, Matt Watson wrote:
Can you rephrase the question? If you post a compilable, self-contained program that exhibits the issue you're trying to illustrate, it would be easier to respond. A good problem report will include:
Thanks for making me think!!! I found the problem. The compiler.
On a PPC two different machines and OS(s) using GCC 2.95.2 NOT 3.3
the code:
"do *--strPtr = ((val_ul & 7) + 48); while ((val_ul >>= 3));"
runs twice as slow as
"do *--strPtr = _lowerhexstr[(val_ul & 7)]; while ((val_ul >>= 3));"
times: first code / second code 110 / 55
Now who should get this this affects systems 10.1.5 - 10.3.6? Do you need a code snippet?
Even better would be a "recipe" to reproduce. Something like:
1) Install 10.1.5 on a 400MHz PowerMac G3 2) Install the 10.1.5 developer tools (December 2002) 3) Compile the following program with cc -Os -o foo foo.c:
#include <stdio.h>
int
main(void)
{
printf("Hello, World!\n");
return 0;
}4) Run the program with /usr/bin/time ./foo
Something like that...
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/email@hidden This email sent to email@hidden
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.