Freescale Semiconductor, Inc.
Engineering Bulletin
EB622/D
Rev. 1, 5/2003
Review Draft
Motorola Book E
Implementation Standards:
APU ID Reference
This document contains the following:
Freescale Semiconductor, Inc...
Topic
Section 1.1, “Introduction”
Section 1.2, “Motivation”
Section 1.3, “Implementation”
Section 1.4, “References”
Page
2
2
2
3
For More Information On This Product,
Go to: www.freescale.com
Introduction
Freescale Semiconductor, Inc.
1.1
Introduction
The e500 Application Binary Interface (ABI), and possibly other ABIs, provide a mechanism for specifying
the types and revisions of APUs that are required for proper behavior of a program. This information is
contained in an optional
.PPC.EMB.apuinfo
section in the ELF-format object file. This document
provides the official mapping between Motorola Book E Implementation Standard APUs and the numeric
APU IDs that are used in the APUinfo section. See “APU Information Section” in Chapter 3, “Object Files,”
of the PowerPC
e500 Application Binary Interface
, for more details on the format and usage of this section.
1.2
Motivation
Freescale Semiconductor, Inc...
The APU information is intended primarily to allow link-time checks of compatibility between object files
to avoid obvious errors. For example, because both AltiVec and the signal processing engine (SPE) APU use
the same instruction encodings for different instructions, linking an object file that requires AltiVec
instructions with an object file that requires SPE instructions should provide an error message.
The APU information can also be used by disassemblers to unambiguously disassemble such shared
opcodes. In addition, operating systems can use the APUinfo section in an application to provide transparent
emulation of APUs that are not present in the hardware. Without APU information, an operating system
would not know whether it should emulate AltiVec or SPE semantics for certain instruction encodings.
1.3
Implementation
The APUinfo section contains an entry for each APU that the object file requires. Each entry contains a
32-bit word: an upper 16-bit half word specifying the APU type, and a lower 16-bit half word specifying the
revision of that APU. This document presents the current assignments for the APU types. See the reference
manual for the implementation to determine the revision of an APU for the lower half word of the entry.
Table 1-1 provides the current APU ID assignments. Note that this application note is the definitive source
for APU ID assignments and will be revised as new APUs are added.
Table 1-1. APU IDs
APU ID (16 Bits)
0x0000–0x003E
0x003f
0x0040
0x0041
0x0042
0x0043
0x0044–0x00FF
0x0100
0x0101
0x0102
0x0102–0xFFFF
1
APU
Reserved for legacy use
Motorola AltiVec APU
1
Book E integer select (
isel
) APU
Motorola Book E performance monitor APU
Motorola Book E machine check APU
Motorola Book E cache locking APU
Reserved
Motorola Book E SPE APU
Motorola Book E SPFP APU
e500 branch-locking APU (also called the BTB locking APU)
Reserved
Although AltiVec predates the Book E concept of APUs, AltiVec can be considered an APU.
2
Motorola Book E Implementation Standards: APU ID Reference
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
Freescale Semiconductor, Inc.
References
1.4
References
PowerPC e500 Application Binary Interface,
Motorola Order Number E500ABIUG/D
AltiVec Technology Programming Environments Manual,
Motorola Order Number ALTIVECPEM/D
PowerPC e500 Core Complex Reference Manual,
Motorola Order Number E500CORERM/D
EREF: A Reference for Motorola Book E and the e500 Core,
Motorola Order Number EREF/D
Freescale Semiconductor, Inc...
MOTOROLA
Motorola Book E Implementation Standards: APU ID Reference
For More Information On This Product,
Go to: www.freescale.com
3
Freescale Semiconductor, Inc.
HOW TO REACH US:
USA/EUROPE/LOCATIONS NOT LISTED:
Motorola Literature Distribution
P.O. Box 5405, Denver, Colorado 80217
1-303-675-2140
(800) 441-2447
JAPAN:
Motorola Japan Ltd.
SPS, Technical Information Center
3-20-1, Minami-Azabu Minato-ku
Tokyo 106-8573 Japan
81-3-3440-3569
ASIA/PACIFIC:
Information in this document is provided solely to enable system and software implementers to use
Motorola products. There are no express or implied copyright licenses granted hereunder to design
or fabricate any integrated circuits or integrated circuits based on the information in this document.
Motorola reserves the right to make changes without further notice to any products herein.
Motorola makes no warranty, representation or guarantee regarding the suitability of its products
for any particular purpose, nor does Motorola assume any liability arising out of the application or
use of any product or circuit, and specifically disclaims any and all liability, including without
Freescale Semiconductor, Inc...
Motorola Semiconductors H.K. Ltd.
Silicon Harbour Centre, 2 Dai King Street
Tai Po Industrial Estate, Tai Po, N.T., Hong Kong
852-26668334
TECHNICAL INFORMATION CENTER:
(800) 521-6274
HOME PAGE:
www.motorola.com/semiconductors
limitation consequential or incidental damages. “Typical” parameters which may be provided in
Motorola data sheets and/or specifications can and do vary in different applications and actual
performance may vary over time. All operating parameters, including “Typicals” must be validated
for each customer application by customer’s technical experts. Motorola does not convey any
license under its patent rights nor the rights of others. Motorola products are not designed,
intended, or authorized for use as components in systems intended for surgical implant into the
body, or other applications intended to support or sustain life, or for any other application in which
the failure of the Motorola product could create a situation where personal injury or death may
occur. Should Buyer purchase or use Motorola products for any such unintended or unauthorized
application, Buyer shall indemnify and hold Motorola and its officers, employees, subsidiaries,
affiliates, and distributors harmless against all claims, costs, damages, and expenses, and
reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or death
associated with such unintended or unauthorized use, even if such claim alleges that Motorola was
negligent regarding the design or manufacture of the part.
Motorola and the Stylized M Logo are registered in the U.S. Patent and Trademark Office.
digital dna is a trademark of Motorola, Inc. All other product or service names are the property of
their respective owners. Motorola, Inc. is an Equal Opportunity/Affirmative Action Employer.
© Motorola, Inc. 2003
EB622/D
For More Information On This Product,
Go to: www.freescale.com