Added support for the top target peephole optimiser.

This commit is contained in:
dtrg
2006-07-22 12:31:19 +00:00
parent 90844c1272
commit e604ef3d4c
9 changed files with 133 additions and 7 deletions

View File

@@ -10,6 +10,7 @@ mach_arm = group {
proto_as,
proto_ncg { ARCHDIR = "arm" },
proto_top,
tool_arm_cv,
install = pm.install("%ROOTDIR%/lib/%ARCH%/descr", "%BINDIR%%PLATIND%/%ARCH%/descr")
@@ -17,6 +18,9 @@ mach_arm = group {
-- Revision history
-- $Log$
-- Revision 1.1 2006-07-20 23:18:18 dtrg
-- Revision 1.2 2006-07-22 12:31:19 dtrg
-- Added support for the top target peephole optimiser.
--
-- Revision 1.1 2006/07/20 23:18:18 dtrg
-- First version in CVS.
--

View File

@@ -8,6 +8,7 @@ mach_m68020 = group {
proto_as,
proto_ncg { ARCHDIR = "m68020" },
proto_top,
ego_descr,
install = {
@@ -17,7 +18,10 @@ mach_m68020 = group {
-- Revision history
-- $Log$
-- Revision 1.2 2006-07-22 00:52:01 dtrg
-- Revision 1.3 2006-07-22 12:31:19 dtrg
-- Added support for the top target peephole optimiser.
--
-- Revision 1.2 2006/07/22 00:52:01 dtrg
-- Added support for the ego global optimisation suite.
--
-- Revision 1.1 2006/07/20 23:18:18 dtrg

View File

@@ -8,6 +8,7 @@ mach_m68k2 = group {
proto_as,
proto_ncg { ARCHDIR = "m68020" },
proto_top,
ego_descr,
install = {
@@ -18,7 +19,10 @@ mach_m68k2 = group {
-- Revision history
-- $Log$
-- Revision 1.2 2006-07-22 00:52:01 dtrg
-- Revision 1.3 2006-07-22 12:31:19 dtrg
-- Added support for the top target peephole optimiser.
--
-- Revision 1.2 2006/07/22 00:52:01 dtrg
-- Added support for the ego global optimisation suite.
--
-- Revision 1.1 2006/07/20 23:18:18 dtrg

View File

@@ -9,6 +9,7 @@ mach_pdp = group {
proto_as,
proto_cg,
proto_ncg { ARCHDIR = "pdp" },
proto_top,
ego_descr,
install = {
@@ -18,7 +19,10 @@ mach_pdp = group {
-- Revision history
-- $Log$
-- Revision 1.2 2006-07-22 00:52:01 dtrg
-- Revision 1.3 2006-07-22 12:31:19 dtrg
-- Added support for the top target peephole optimiser.
--
-- Revision 1.2 2006/07/22 00:52:01 dtrg
-- Added support for the ego global optimisation suite.
--
-- Revision 1.1 2006/07/20 23:18:19 dtrg

View File

@@ -6,9 +6,13 @@ local d = ROOTDIR.."mach/proto/"
include (d.."as/pmfile")
include (d.."cg/pmfile")
include (d.."ncg/pmfile")
include (d.."top/pmfile")
-- Revision history
-- $Log$
-- Revision 1.1 2006-07-20 23:18:18 dtrg
-- Revision 1.2 2006-07-22 12:31:19 dtrg
-- Added support for the top target peephole optimiser.
--
-- Revision 1.1 2006/07/20 23:18:18 dtrg
-- First version in CVS.
--

41
mach/proto/top/pmfile Normal file
View File

@@ -0,0 +1,41 @@
-- $Source$
-- $State$
local d = ROOTDIR.."mach/proto/top/"
local make_tables = topgen {
file (ROOTDIR.."mach/%ARCH%/top/table")
}
local cfile_with_tables = cfile {
class = "cfile_with_tables",
dynamicheaders = {
make_tables,
}
}
proto_top = cprogram {
CINCLUDES = {
PARENT,
"-Imach/%ARCH%/ncg",
"-Imach",
"-I"..d
},
cfile_with_tables (d.."queue.c"),
cfile_with_tables (d.."top.c"),
lib_string,
outputs = {"%U%/%ARCH%-top"},
install = pm.install("%BINDIR%%PLATDEP%/%ARCH%/top")
}
-- Revision history
-- $Log$
-- Revision 1.1 2006-07-22 12:31:19 dtrg
-- Added support for the top target peephole optimiser.
--
-- Revision 1.1 2006/07/20 23:18:18 dtrg
-- First version in CVS.
--

View File

@@ -8,6 +8,7 @@ mach_vax4 = group {
proto_as,
proto_cg,
proto_top,
ego_descr,
install = {
@@ -17,7 +18,10 @@ mach_vax4 = group {
-- Revision history
-- $Log$
-- Revision 1.2 2006-07-22 00:52:01 dtrg
-- Revision 1.3 2006-07-22 12:31:19 dtrg
-- Added support for the top target peephole optimiser.
--
-- Revision 1.2 2006/07/22 00:52:01 dtrg
-- Added support for the ego global optimisation suite.
--
-- Revision 1.1 2006/07/20 23:18:18 dtrg