>From: <Gene_Gaunt@ReviewWorks.com>
>> What is the most efficient C way to assigned a based integer and also
>> increment the pointer at once?  Can be done in one RISC instruction

>no single RISC instruction will do. It is RISC after all.

There actually are several "load with increment the pointer" instructions
and "store with increment the pointer instructions."

Look 'em up!

Larry W. Loen  -   Senior Linux, Java, and iSeries Performance Analyst
                          Dept HP4, Rochester MN

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].