This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gas + prefetch



On Thu, 4 Nov 1999, Ronald Benedik wrote:

> I found out the asssembler doesn't reckognize the prefetch instruction of
> the K6-II,K6-III,and probably Athlon. Since a prefetch instruction is a
> good thing, built in support would be of interest also for other people.

gas understands the PIII/Athlon prefetch instructions "prefetchnta",
"prefetcht0", "prefetcht1", and "prefetcht2".  Also the AMD K6 ones
"prefetch", and "prefetchw".

Note that you need to give all of these instructions a memory operand. eg.
	prefetch (%ebx)

H.J. Lu has fairly recent precompiled binutils packages available for
Linux on ftp.varesearch.com/pub/support/hjl/binutils/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]