|
One could write test loops to find out which is faster. I suspect memcpy always does CPYBWP. --Dave Steve Richter wrote:
-----Original Message----- From: mi400-bounces@xxxxxxxxxxxx [mailto:mi400-bounces@xxxxxxxxxxxx]On Behalf Of Dave McKenzie Sent: Sunday, June 19, 2005 2:11 PM To: MI Programming on the AS400 / iSeries Subject: Re: [MI400] Write System Pointer to User Space Hi Peter,Here's a pgm that does that. The "memcpy" function does the equivalent of a CPYBWP (Copy Bytes With Pointers) MI instruction under the covers.I have always assumed that CPYBWP was slower than CPYBLA. Not true? Does memcpy always use CPYBWP in place of CPYBLA? ( I know, LDQ and STQ! ) -Steve
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.