! Copyright (C) 2020 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
USING: layouts namespaces ;
-IN: bootstrap.arm
+IN: bootstrap.assembler.arm
4 \ cell set
! Copyright (C) 2020 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
USING: kernel parser sequences ;
-IN: bootstrap.arm
+IN: bootstrap.assembler.arm
<< "vocab:bootstrap/assembler/arm.unix.factor" parse-file suffix! >> call
<< "vocab:bootstrap/assembler/arm.32.factor" parse-file suffix! >> call
! Copyright (C) 2020 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
USING: kernel parser sequences ;
-IN: bootstrap.arm
+IN: bootstrap.assembler.arm
<< "vocab:bootstrap/assembler/arm.windows.factor" parse-file suffix! >> call
<< "vocab:bootstrap/assembler/arm.32.factor" parse-file suffix! >> call
kernel kernel.private layouts locals.backend
math math.private memory namespaces sequences slots.private
strings.private threads.private vocabs ;
-IN: bootstrap.arm
+IN: bootstrap.assembler.arm
8 \ cell set
! See http://factorcode.org/license.txt for BSD license.
USING: cpu.arm.assembler cpu.arm.assembler.opcodes kernel layouts
parser sequences ;
-IN: bootstrap.arm
+IN: bootstrap.assembler.arm
! Stack frame
! https://docs.microsoft.com/en-us/cpp/build/arm64-exception-handling?view=vs-2019
! Copyright (C) 2020 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
USING: kernel parser sequences ;
-IN: bootstrap.arm
+IN: bootstrap.assembler.arm
<< "vocab:bootstrap/assembler/arm.windows.factor" parse-file suffix! >> call
USING: bootstrap.image.private cpu.arm.assembler kernel
kernel.private layouts locals.backend math.private namespaces
slots.private strings.private ;
-IN: bootstrap.arm
+IN: bootstrap.assembler.arm
big-endian off
-! [ "bootstrap.arm" forget-vocab ] with-compilation-unit
\ No newline at end of file
+! [ "bootstrap.assembler.arm" forget-vocab ] with-compilation-unit
\ No newline at end of file
! Copyright (C) 2020 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
USING: kernel ;
-IN: bootstrap.arm
+IN: bootstrap.assembler.arm
DEFER: stack-reg
! Copyright (C) 2020 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-IN: bootstrap.arm
+IN: bootstrap.assembler.arm
USING: parser system kernel sequences math ranges
cpu.ppc.assembler combinators compiler.constants
bootstrap.image.private layouts namespaces ;
-IN: bootstrap.ppc
+IN: bootstrap.assembler.ppc
4 \ cell set
big-endian on
USING: parser system kernel sequences math ranges
cpu.ppc.assembler combinators compiler.constants
bootstrap.image.private layouts namespaces ;
-IN: bootstrap.ppc
+IN: bootstrap.assembler.ppc
8 \ cell set
big-endian on
locals locals.backend generic.single.private sequences
threads.private strings.private ;
FROM: cpu.ppc.assembler => B ;
-IN: bootstrap.ppc
+IN: bootstrap.assembler.ppc
: jit-call ( string -- )
dup
] }
} define-sub-primitives
-[ "bootstrap.ppc" forget-vocab ] with-compilation-unit
+[ "bootstrap.assembler.ppc" forget-vocab ] with-compilation-unit
compiler.constants cpu.x86.assembler cpu.x86.assembler.operands
generic.single.private kernel kernel.private layouts math
math.private namespaces threads.private ;
-IN: bootstrap.x86
+IN: bootstrap.assembler.x86
4 \ cell set
! Copyright (C) 2010 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
USING: kernel parser sequences ;
-IN: bootstrap.x86
+IN: bootstrap.assembler.x86
<< "vocab:bootstrap/assembler/x86.unix.factor" parse-file suffix! >> call
<< "vocab:bootstrap/assembler/x86.32.factor" parse-file suffix! >> call
USING: compiler.codegen.relocation compiler.constants cpu.x86.assembler
cpu.x86.assembler.operands kernel kernel.private layouts parser
sequences ;
-IN: bootstrap.x86
+IN: bootstrap.assembler.x86
: tib-segment ( -- ) FS ;
: tib-temp ( -- reg ) EAX ;
compiler.constants cpu.x86.assembler cpu.x86.assembler.operands
generic.single.private kernel kernel.private layouts math
math.private namespaces threads.private ;
-IN: bootstrap.x86
+IN: bootstrap.assembler.x86
8 \ cell set
! See http://factorcode.org/license.txt for BSD license.
USING: cpu.x86.assembler.operands kernel layouts parser
sequences ;
-IN: bootstrap.x86
+IN: bootstrap.assembler.x86
: stack-frame-size ( -- n ) 4 bootstrap-cells ;
: nv-regs ( -- seq ) { RBX R12 R13 R14 R15 } ;
! See http://factorcode.org/license.txt for BSD license.
USING: cpu.x86.assembler cpu.x86.assembler.operands kernel
layouts parser sequences ;
-IN: bootstrap.x86
+IN: bootstrap.assembler.x86
DEFER: stack-reg
cpu.x86.assembler.operands kernel kernel.private layouts
locals.backend math math.private namespaces sequences
slots.private strings.private vocabs ;
-IN: bootstrap.x86
+IN: bootstrap.assembler.x86
: temp0/32 ( -- reg )
temp0 32-bit-version-of ;
] }
} define-sub-primitives
-[ "bootstrap.x86" forget-vocab ] with-compilation-unit
+[ "bootstrap.assembler.x86" forget-vocab ] with-compilation-unit
! See http://factorcode.org/license.txt for BSD license.
USING: cpu.x86.assembler cpu.x86.assembler.operands kernel
layouts ;
-IN: bootstrap.x86
+IN: bootstrap.assembler.x86
DEFER: stack-reg
! See http://factorcode.org/license.txt for BSD license.
USING: compiler.constants cpu.x86.assembler
cpu.x86.assembler.operands layouts ;
-IN: bootstrap.x86
+IN: bootstrap.assembler.x86
: tib-exception-list-offset ( -- n ) 0 bootstrap-cells ;
: tib-stack-base-offset ( -- n ) 1 bootstrap-cells ;