]> gitweb.factorcode.org Git - factor.git/commit
compiler: new "binary literal area" at the end of a word's machine code stores consta...
authorSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Mon, 3 May 2010 21:23:03 +0000 (17:23 -0400)
committerSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Mon, 3 May 2010 21:34:35 +0000 (17:34 -0400)
commit58e4381eb1f757d2cf520ca8a6ce69ba3f43c0d2
treee0af0133e142c8156ad4a3bca2adc162506247bc
parent9b4135713e5b887b455f83943ff5d4acbfa63bc3
compiler: new "binary literal area" at the end of a word's machine code stores constant floats and SIMD vectors; this allows ##load-reference/##load-memory fusion to be performed on x86-64, with a RIP-relative address reaching the data; also simplifies VM since custom relocation types used by the previous 32-bit-only optimization are no longer needed
17 files changed:
basis/compiler/cfg/representations/peephole/peephole.factor
basis/compiler/cfg/value-numbering/misc/misc.factor
basis/compiler/cfg/value-numbering/value-numbering-tests.factor
basis/compiler/codegen/fixup/fixup.factor
basis/compiler/constants/constants.factor
basis/cpu/architecture/architecture.factor
basis/cpu/x86/32/32.factor
basis/cpu/x86/64/64.factor
basis/cpu/x86/64/unix/unix.factor
basis/cpu/x86/x86.factor
vm/code_blocks.cpp
vm/compaction.cpp
vm/image.cpp
vm/instruction_operands.cpp
vm/instruction_operands.hpp
vm/layouts.hpp
vm/slot_visitor.hpp