A microprocessor coupled to a system memory by a bus includes an
instruction decode unit that decodes an instruction that specifies a data
stream in the system memory and a stream prefetch priority. The
microprocessor also includes a load/store unit that generates load/store
requests to transfer data between the system memory and the
microprocessor. The microprocessor also includes a stream prefetch unit
that generates a plurality of prefetch requests to prefetch the data
stream from the system memory into the microprocessor. The prefetch
requests specify the stream prefetch priority. The microprocessor also
includes a bus interface unit (BIU) that generates transaction requests
on the bus to transfer data between the system memory and the
microprocessor in response to the load/store requests and the prefetch
requests. The BIU prioritizes the bus transaction requests for the
prefetch requests relative to the bus transaction requests for the
load/store requests based on the stream prefetch priority.