"base"
"fggen"
"fgopt"
- "machines/i386"
+ "machines/x86-64"
"rtlbase"
"rtlgen"
"rtlopt")))
\ No newline at end of file
"base/sets" ;set abstraction
"base/mvalue" ;multiple-value support
"base/scode" ;SCode abstraction
- "machines/i386/machin" ;machine dependent stuff
+ "machines/x86-64/machin" ;machine dependent stuff
"back/asutl" ;back-end odds and ends
"base/utils" ;odds and ends
rule-matcher))
(define-package (compiler declarations)
- (files "machines/i386/decls")
+ (files "machines/x86-64/decls")
(parent (compiler))
(export (compiler)
sc
(files "rtlgen/rtlgen" ;RTL generator
"rtlgen/rgstmt" ;statements
"rtlgen/fndvar" ;find variables
- "machines/i386/rgspcm" ;special close-coded primitives
+ "machines/x86-64/rgspcm" ;special close-coded primitives
"rtlbase/rtline" ;linearizer
)
(parent (compiler))
"back/lapgn2" ; " "
"back/lapgn3" ; " "
"back/regmap" ;Hardware register allocator
- "machines/i386/lapgen" ;code generation rules
- "machines/i386/rules1" ; " " "
- "machines/i386/rules2" ; " " "
- "machines/i386/rules3" ; " " "
- "machines/i386/rules4" ; " " "
- "machines/i386/rulfix" ; " " "
- "machines/i386/rulflo" ; " " "
- "machines/i386/rulrew" ;code rewriting rules
+ "back/checks" ;Interrupt checks
+ "machines/x86-64/lapgen" ;code generation rules
+ "machines/x86-64/rules1" ; " " "
+ "machines/x86-64/rules2" ; " " "
+ "machines/x86-64/rules3" ; " " "
+ "machines/x86-64/rules4" ; " " "
+ "machines/x86-64/rulfix" ; " " "
+ "machines/x86-64/rulflo" ; " " "
+ "machines/x86-64/rulrew" ;code rewriting rules
"back/syntax" ;Generic syntax phase
"back/syerly" ;Early binding version
- "machines/i386/coerce" ;Coercions: integer -> bit string
+ "machines/x86-64/coerce" ;Coercions: integer -> bit string
"back/asmmac" ;Macros for hairy syntax
- "machines/i386/insmac" ;Macros for hairy syntax
- "machines/i386/insutl" ;i386 instruction utilities
- "machines/i386/instr1" ;i386 instructions
- "machines/i386/instr2" ; " "
- "machines/i386/instrf" ;i387/i486 fp instructions
+ "machines/x86-64/insmac" ;Macros for hairy syntax
+ "machines/x86-64/insutl" ;x86-64 instruction utilities
+ "machines/x86-64/instr1" ;x86-64 instructions
+ "machines/x86-64/instr2" ; " "
+ "machines/x86-64/instrf" ; " " fp instructions
)
(parent (compiler))
(export (compiler)
linearize-lap))
(define-package (compiler lap-optimizer)
- (files "machines/i386/lapopt")
+ (files "machines/x86-64/lapopt")
(parent (compiler))
(export (compiler top-level)
optimize-linear-lap))
(define-package (compiler assembler)
- (files "machines/i386/assmd" ;Machine dependent
+ (files "machines/x86-64/assmd" ;Machine dependent
"back/symtab" ;Symbol tables
"back/bitutl" ;Assembly blocks
"back/bittop" ;Assembler top level
assemble))
(define-package (compiler disassembler)
- (files "machines/i386/dassm1"
- "machines/i386/dassm2"
- "machines/i386/dassm3")
+ (files "machines/x86-64/dassm1"
+ "machines/x86-64/dassm2"
+ "machines/x86-64/dassm3")
(parent (compiler))
(export ()
compiler:write-lap-file
(newline)
(sf-and-load '("base/switch") '(COMPILER))
(sf-and-load '("base/macros") '(COMPILER MACROS))
- (sf-and-load '("machines/i386/decls") '(COMPILER DECLARATIONS))
+ (sf-and-load '("machines/x86-64/decls") '(COMPILER DECLARATIONS))
(let ((environment (->environment '(COMPILER DECLARATIONS))))
(set! (access source-file-expression environment) "*.scm")
((access initialize-package! environment)))
(sf-and-load '("base/pmlook") '(COMPILER PATTERN-MATCHER/LOOKUP))
(sf-and-load '("base/pmpars") '(COMPILER PATTERN-MATCHER/PARSER))
- (sf-and-load '("machines/i386/machin") '(COMPILER))
+ (sf-and-load '("machines/x86-64/machin") '(COMPILER))
(fluid-let ((sf/default-declarations
'((integrate-external "insseq")
(integrate-external "machin")
(usual-definition (set expt)))))
- (sf-and-load '("machines/i386/assmd") '(COMPILER ASSEMBLER)))
+ (sf-and-load '("machines/x86-64/assmd") '(COMPILER ASSEMBLER)))
(sf-and-load '("back/syntax") '(COMPILER LAP-SYNTAXER))
- (sf-and-load '("machines/i386/coerce"
+ (sf-and-load '("machines/x86-64/coerce"
"back/asmmac"
- "machines/i386/insmac")
+ "machines/x86-64/insmac")
'(COMPILER LAP-SYNTAXER))
(sf-and-load '("base/scode") '(COMPILER))
(sf-and-load '("base/pmerly") '(COMPILER PATTERN-MATCHER/EARLY))
"/"
source-file-expression))))
'("back" "base" "fggen" "fgopt" "rtlbase" "rtlgen" "rtlopt"
- "machines/i386"))))
+ "machines/x86-64"))))
(if (null? filenames)
(error "Can't find source files of compiler"))
(set! source-filenames filenames))
"asmmac" "bittop" "bitutl" "insseq" "lapgn1"
"lapgn2" "lapgn3" "linear" "regmap" "symtab"
"syntax")
- (filename/append "machines/i386"
+ (filename/append "machines/x86-64"
"dassm1" "insmac" "lapopt" "machin" "rgspcm"
"rulrew")
(filename/append "fggen"
"rerite" "rinvex" "rlife" "rtlcsm"))
(->environment '(COMPILER)))
(file-dependency/syntax/join
- (filename/append "machines/i386"
+ (filename/append "machines/x86-64"
"lapgen"
"rules1" "rules2" "rules3" "rules4" "rulfix" "rulflo"
"insutl" "instr1" "instr2" "instrf")
"contin" "ctypes" "enumer" "lvalue"
"object" "proced" "rvalue"
"scode" "subprb" "utils"))
- (i386-base
- (append (filename/append "machines/i386" "machin")
+ (x86-64-base
+ (append (filename/append "machines/x86-64" "machin")
(filename/append "back" "asutl")))
(rtl-base
(filename/append "rtlbase"
"rcse2" "rcseep")
cse-base))
(instruction-base
- (filename/append "machines/i386" "assmd" "machin"))
+ (filename/append "machines/x86-64" "assmd" "machin"))
(lapgen-base
(append (filename/append "back" "linear" "regmap")
- (filename/append "machines/i386" "lapgen")))
+ (filename/append "machines/x86-64" "lapgen")))
(assembler-base
(append (filename/append "back" "symtab")
- (filename/append "machines/i386" "insutl")))
+ (filename/append "machines/x86-64" "insutl")))
(lapgen-body
(append
(filename/append "back" "lapgn1" "lapgn2" "syntax")
- (filename/append "machines/i386"
+ (filename/append "machines/x86-64"
"rules1" "rules2" "rules3" "rules4"
"rulfix" "rulflo")))
(assembler-body
(append
(filename/append "back" "bittop")
- (filename/append "machines/i386"
+ (filename/append "machines/x86-64"
"instr1" "instr2" "instrf"))))
(define (file-dependency/integration/join filenames dependencies)
(string-append directory "/" name)
(apply filename/append directory* names)))
- (define-integration-dependencies "machines/i386" "machin" "back" "asutl")
+ (define-integration-dependencies "machines/x86-64" "machin" "back" "asutl")
(define-integration-dependencies "base" "object" "base" "enumer")
(define-integration-dependencies "base" "enumer" "base" "object")
(define-integration-dependencies "base" "cfg1" "base" "object")
(define-integration-dependencies "base" "subprb" "base"
"cfg3" "contin" "enumer" "object" "proced")
- (define-integration-dependencies "machines/i386" "machin" "rtlbase"
+ (define-integration-dependencies "machines/x86-64" "machin" "rtlbase"
"rtlreg" "rtlty1" "rtlty2")
(define-integration-dependencies "rtlbase" "rgraph" "base" "cfg1" "cfg2")
- (define-integration-dependencies "rtlbase" "rgraph" "machines/i386"
+ (define-integration-dependencies "rtlbase" "rgraph" "machines/x86-64"
"machin")
(define-integration-dependencies "rtlbase" "rtlcfg" "base"
"cfg1" "cfg2" "cfg3")
(define-integration-dependencies "rtlbase" "rtlcon" "base" "cfg3" "utils")
- (define-integration-dependencies "rtlbase" "rtlcon" "machines/i386"
+ (define-integration-dependencies "rtlbase" "rtlcon" "machines/x86-64"
"machin")
(file-dependency/integration/join (filename/append "rtlbase" "rtlcon")
rtl-base)
"rtlcfg" "rtlty2")
(define-integration-dependencies "rtlbase" "rtlobj" "base"
"cfg1" "object" "utils")
- (define-integration-dependencies "rtlbase" "rtlreg" "machines/i386"
+ (define-integration-dependencies "rtlbase" "rtlreg" "machines/x86-64"
"machin")
(define-integration-dependencies "rtlbase" "rtlreg" "rtlbase"
"rgraph" "rtlty1")
(define-integration-dependencies "rtlbase" "rtlty1" "rtlbase" "rtlcfg")
- (define-integration-dependencies "rtlbase" "rtlty2" "machines/i386"
+ (define-integration-dependencies "rtlbase" "rtlty2" "machines/x86-64"
"machin")
(define-integration-dependencies "rtlbase" "rtlty2" "rtlbase" "rtlty1")
"envopt" "folcon" "offset" "operan" "order" "param"
"outer" "reuse" "reteqv" "sideff" "simapp" "simple"
"subfre" "varind"))
- (append i386-base front-end-base))
+ (append x86-64-base front-end-base))
(define-integration-dependencies "fgopt" "reuse" "fgopt" "reord")
(filename/append "rtlgen"
"fndblk" "fndvar" "opncod" "rgcomb" "rgproc" "rgretn"
"rgrval" "rgstmt" "rtlgen")
- (append i386-base front-end-base rtl-base))
+ (append x86-64-base front-end-base rtl-base))
(file-dependency/integration/join
(append cse-all
(filename/append "rtlopt" "ralloc" "rcompr" "rdebug" "rdflow"
"rerite" "rinvex" "rlife" "rtlcsm")
- (filename/append "machines/i386" "rulrew"))
- (append i386-base rtl-base))
+ (filename/append "machines/x86-64" "rulrew"))
+ (append x86-64-base rtl-base))
(file-dependency/integration/join cse-all cse-base)
(declare (usual-integrations))
-(let ((value ((load "base/make") "i386")))
+(let ((value ((load "base/make") "x86-64")))
(set! (access compiler:compress-top-level? (->environment '(compiler))) #t)
value)
\ No newline at end of file