Added descriptions for EM machines

This commit is contained in:
ceriel 1989-06-27 15:46:58 +00:00
parent 58f837cd33
commit cd8f86a7e4
5 changed files with 268 additions and 2 deletions

View file

@ -6,3 +6,6 @@ m68k2.descr
m68k4.descr
pdp.descr
vax4.descr
em22.descr
em24.descr
em44.descr

View file

@ -9,9 +9,11 @@ CPPFLAGS=-DVERBOSE -DNOTCOMPACT
CFLAGS=$(CPPFLAGS) -O
LINTFLAGS=-hbac
SOURCES = i86.descr m68k2.descr pdp.descr vax4.descr m68k4.descr m68020.descr
SOURCES = i86.descr m68k2.descr pdp.descr vax4.descr m68k4.descr m68020.descr \
em22.descr em24.descr em44.descr
TARGETS = i86descr m68k2descr vax4descr pdpdescr m68k4descr m68020descr
TARGETS = i86descr m68k2descr vax4descr pdpdescr m68k4descr m68020descr \
em22descr em24descr em44descr
PRFILES = Makefile descr.sed $(SOURCES)
@ -50,3 +52,12 @@ m68020descr: m68020.descr descr.sed
vax4descr: vax4.descr descr.sed
$(CPP) -P -I$(EMH) vax4.descr | sed -f descr.sed > vax4descr
em22descr: em22.descr descr.sed
$(CPP) -P -I$(EMH) em22.descr | sed -f descr.sed > em22descr
em24descr: em24.descr descr.sed
$(CPP) -P -I$(EMH) em24.descr | sed -f descr.sed > em24descr
em44descr: em44.descr descr.sed
$(CPP) -P -I$(EMH) em44.descr | sed -f descr.sed > em44descr

84
util/ego/descr/em22.descr Normal file
View file

@ -0,0 +1,84 @@
wordsize: 2
pointersize: 2
%%RA
general registers: 0
address registers: 0
floating point registers: 0
use general as pointer: no
register score parameters:
local variable:
(1 case)
general,general
(1 size)
default -> (-1,-1)
address of local variable:
(1 case)
general,general
(1 size)
default -> (-1,-1)
constant:
(1 sizes)
default -> (-1,-1)
double constant:
(1 size)
default -> (-1,-1)
address of global variable:
(1 size)
default -> (-1,-1)
address of procedure:
(1 size)
default -> (-1,-1)
opening cost parameters:
local variable:
(1 case)
general
(1 size)
default -> (-1,-1)
address of local variable:
(1 case)
general
(1 size)
default -> (-1,-1)
constant:
(1 size)
default -> (-1,-1)
double constant:
(1 size)
default -> (-1,-1)
address of global variable:
(1 size)
default -> (-1,-1)
address of procedure:
(1 size)
default -> (-1,-1)
register save costs:
(1 case)
0 -> (0,0)
%%UD
access costs of global variables:
(1 size)
default -> (4,2)
access costs of local variables:
(1 size)
default -> (4,2)
%%SR
overflow harmful?: yes
array bound harmful?: yes
%%CS
#include "../../../h/em_mnem.h"
first time then space:
addressing modes: -1
-1
cheap operations: -1
-1
lexical tresholds: 1 1
indirection limit: 8
do not eliminate sli if index on shiftcounts: -1
-1
forbidden operators: -1 -1
%%SP
global stack pollution allowed?: no

84
util/ego/descr/em24.descr Normal file
View file

@ -0,0 +1,84 @@
wordsize: 2
pointersize: 4
%%RA
general registers: 0
address registers: 0
floating point registers: 0
use general as pointer: no
register score parameters:
local variable:
(1 case)
general,general
(1 size)
default -> (-1,-1)
address of local variable:
(1 case)
general,general
(1 size)
default -> (-1,-1)
constant:
(1 sizes)
default -> (-1,-1)
double constant:
(1 size)
default -> (-1,-1)
address of global variable:
(1 size)
default -> (-1,-1)
address of procedure:
(1 size)
default -> (-1,-1)
opening cost parameters:
local variable:
(1 case)
general
(1 size)
default -> (-1,-1)
address of local variable:
(1 case)
general
(1 size)
default -> (-1,-1)
constant:
(1 size)
default -> (-1,-1)
double constant:
(1 size)
default -> (-1,-1)
address of global variable:
(1 size)
default -> (-1,-1)
address of procedure:
(1 size)
default -> (-1,-1)
register save costs:
(1 case)
0 -> (0,0)
%%UD
access costs of global variables:
(1 size)
default -> (4,2)
access costs of local variables:
(1 size)
default -> (4,2)
%%SR
overflow harmful?: yes
array bound harmful?: yes
%%CS
#include "../../../h/em_mnem.h"
first time then space:
addressing modes: -1
-1
cheap operations: -1
-1
lexical tresholds: 1 1
indirection limit: 8
do not eliminate sli if index on shiftcounts: -1
-1
forbidden operators: -1 -1
%%SP
global stack pollution allowed?: no

84
util/ego/descr/em44.descr Normal file
View file

@ -0,0 +1,84 @@
wordsize: 4
pointersize: 4
%%RA
general registers: 0
address registers: 0
floating point registers: 0
use general as pointer: no
register score parameters:
local variable:
(1 case)
general,general
(1 size)
default -> (-1,-1)
address of local variable:
(1 case)
general,general
(1 size)
default -> (-1,-1)
constant:
(1 sizes)
default -> (-1,-1)
double constant:
(1 size)
default -> (-1,-1)
address of global variable:
(1 size)
default -> (-1,-1)
address of procedure:
(1 size)
default -> (-1,-1)
opening cost parameters:
local variable:
(1 case)
general
(1 size)
default -> (-1,-1)
address of local variable:
(1 case)
general
(1 size)
default -> (-1,-1)
constant:
(1 size)
default -> (-1,-1)
double constant:
(1 size)
default -> (-1,-1)
address of global variable:
(1 size)
default -> (-1,-1)
address of procedure:
(1 size)
default -> (-1,-1)
register save costs:
(1 case)
0 -> (0,0)
%%UD
access costs of global variables:
(1 size)
default -> (4,2)
access costs of local variables:
(1 size)
default -> (4,2)
%%SR
overflow harmful?: yes
array bound harmful?: yes
%%CS
#include "../../../h/em_mnem.h"
first time then space:
addressing modes: -1
-1
cheap operations: -1
-1
lexical tresholds: 1 1
indirection limit: 8
do not eliminate sli if index on shiftcounts: -1
-1
forbidden operators: -1 -1
%%SP
global stack pollution allowed?: no