PLAY Architecture Documentation
DISCLAIMER: This documentation is derived from the cgen cpu description
of this architecture, and does not represent official documentation
of the chip maker.
In cgen-parlance, an architecture consists of machines and models.
A `machine' is the specification of a variant of the architecture,
and a `model' is the implementation of that specification.
Typically there is a one-to-one correspondance between machine and model.
The distinction allows for separation of what application programs see
(the machine), and how to tune for the chip (what the compiler sees).
A "cpu family" is a cgen concoction to help organize the generated code.
Chip variants that are quite dissimilar can be treated separately by the
generated code even though they're both members of the same architecture.
PLAY Architecture
This section describes various things about the cgen description of
the PLAY architecture. Familiarity with cgen cpu descriptions
is assumed.
Bit number orientation (arch.lsb0?): lsb = 0
ISA description
-
play -
- default-insn-word-bitsize: 16
- default-insn-bitsize: 16
- base-insn-bitsize: 16
- decode-assist: 0 1 2 3
- decode-splits:
CPU Families
-
cpuf - experimental cpu family
Machines:
-
playb - experimental mach
Models:
Machine variants
playb - experimental mach
-
bfd-name: playb
-
isas: play
Model variants
test - test
Registers
accum -
-
machines: base
-
bitsize: 64
h-cbit - carry bit
-
machines: base
-
bitsize: 1
h-df - df test
-
machines: base
-
bitsize: 64
h-gr - general registers
-
machines: base
-
bitsize: 32
-
array: [16]
names:
fp |
13 |
lr |
14 |
sp |
15 |
r0 |
0 |
r1 |
1 |
r2 |
2 |
r3 |
3 |
r4 |
4 |
r5 |
5 |
r6 |
6 |
r7 |
7 |
r8 |
8 |
r9 |
9 |
r10 |
10 |
r11 |
11 |
r12 |
12 |
r13 |
13 |
r14 |
14 |
r15 |
15 |
h-nbit - negative bit
-
machines: base
-
bitsize: 1
h-pc - program counter
-
machines: base
-
bitsize: 32
h-status - status reg
-
machines: base
-
bitsize: 32
h-tf - tf test
-
machines: base
-
bitsize: 128
h-vbit - overflow bit
-
machines: base
-
bitsize: 1
h-zbit - zero bit
-
machines: base
-
bitsize: 1
ps -
-
machines: base
-
bitsize: 8
Assembler supplemental
This documentation was machine generated from the cgen cpu description
files for this architecture.
https://sourceware.org/cgen/