Download MPC7450 RISC Microprocessor Family User`s Manual

Transcript
AltiVec VEA Instructions
Table 2-95. Move to/from VSCR Register Instructions
Name
2.6
Mnemonic
Syntax
Move to AltiVec Status and Control Register
mtvscr
vB
Move from AltiVec Status and Control Register
mfvscr
vB
AltiVec VEA Instructions
The PowerPC virtual environment architecture (VEA) describes the semantics of the
memory model that can be assumed by software processes, and includes descriptions of the
cache model, cache-control instructions, address aliasing, and other related issues.
Implementations that conform to the VEA also adhere to the UISA, but may not necessarily
adhere to the OEA. For further details, see Chapter 4, “Addressing Mode and Instruction
Set Summary,” in The Programming Environments Manual.
This section describes the additional instructions that are provided by the AltiVec ISA for
the VEA.
2.6.1
AltiVec Vector Memory Control Instructions—VEA
Memory control instructions include the following types:
•
•
Cache management instructions (user-level and supervisor-level)
Translation lookaside buffer (TLB) management instructions
This section briefly summarizes the user-level cache management instructions defined by
the AltiVec VEA. See Chapter 3, “L1, L2, and L3 Cache Operation” for more information
about supervisor-level cache, segment register manipulation, and TLB management
instructions.
The AltiVec architecture specifies the data stream touch instructions dst(t), dstst(t), and it
specifies two data stream stop (dss(all)) instructions. The MPC7451 implements all of
them. The term dstx used below refers to all of the stream touch instructions.
The instructions summarized in this section provide user-level programs the ability to
manage on-chip caches, see Chapter 3, “L1, L2, and L3 Cache Operation” for more
information about cache topics.
Bandwidth between the processor and memory is managed explicitly by the programmer
through the use of cache management instructions. These instructions provide a way for
software to communicate to the cache hardware how it should prefetch and prioritize the
writeback of data. The principal instruction for this purpose is a software directed cache
prefetch instruction called data stream touch (dst). Other related instructions are provided
for complete control of the software directed cache prefetch mechanism.
2-116
MPC7450 RISC Microprocessor Family User’s Manual
MOTOROLA