Joshua Warner
fd59e1e08d
begin splitting out arm assembler
2013-02-22 20:47:56 -07:00
Joshua Warner
fe7bb5e640
Merge branch 'master' into wip
...
Conflicts:
makefile
2013-02-21 19:33:38 -07:00
Joshua Warner
a9e2984aaf
fix arm and powerpc build
2013-02-21 16:51:31 -07:00
Joshua Warner
1f0833252d
Merge branch 'master' into wip
...
Conflicts:
src/codegen/compiler/event.cpp
src/codegen/x86/assembler.cpp
src/common.h
2013-02-20 11:27:39 -07:00
Joshua Warner
52b2fd74ef
move math functions out of common.h, and into include/avian/util/math.h
2013-02-20 07:51:57 -07:00
Joshua Warner
b9e281612b
move runtime-array to include
2013-02-19 22:56:05 -07:00
Joshua Warner
263c0dee4f
move abort.h to include, add namespacing
2013-02-19 22:51:38 -07:00
Joshua Warner
987af120d8
move codegen headers to include/
2013-02-19 22:21:22 -07:00
Joshua Warner
984f987e03
further break out x86 assembler
2013-02-19 09:05:31 -07:00
Joshua Warner
61f03643e0
begin splitting up x86 assembler
2013-02-19 09:05:31 -07:00
Joshua Warner
49bfda3932
construct SiteMasks based on OperationMasks
2013-02-19 09:05:30 -07:00
Joshua Warner
4462b87f10
group typeMask and registerMask into OperandMask, for Architecture::plan
2013-02-19 09:05:30 -07:00
Joshua Warner
2db0303e2f
further compiler cleanup / organization
2013-02-13 23:23:07 -07:00
Joshua Warner
94ddb62b5f
move FrameSiteEvent out of compiler.cpp
2013-02-13 22:13:56 -07:00
Joshua Warner
be86d26512
move BoundsCheckEvent out of compiler.cpp
2013-02-13 22:13:56 -07:00
Joshua Warner
d00950458f
move JumpEvent out of compiler.cpp
2013-02-13 22:13:56 -07:00
Joshua Warner
65b7cf047c
move BranchEvent out of compiler.cpp
2013-02-13 22:13:56 -07:00
Joshua Warner
18e6f28ff4
move MemoryEvent out of compiler.cpp
2013-02-13 22:13:55 -07:00
Joshua Warner
9c102bc1a8
move OperationEvent out of compiler.cpp
2013-02-13 22:13:55 -07:00
Joshua Warner
70f9209a6e
move TranslateEvent out of compiler.cpp
2013-02-13 22:13:55 -07:00
Joshua Warner
8a61b38a01
move CombineEvent out of compiler.cpp
2013-02-13 22:13:55 -07:00
Joshua Warner
5ad0eb86d3
move MoveEvent out of compiler.cpp
2013-02-13 22:13:55 -07:00
Joshua Warner
165c77d772
move ReturnEvent out of compiler.cpp
2013-02-13 22:13:55 -07:00
Joshua Warner
0f6e098b69
move CallEvent out of compiler.cpp
2013-02-13 22:13:55 -07:00
Joshua Warner
6d265374ec
move Reads out of compile.cpp
2013-02-13 22:13:55 -07:00
Joshua Warner
b0abc4e1e5
further split up compiler.cpp
2013-02-13 22:13:55 -07:00
Joshua Warner
952cad2360
move site out of compiler.cpp
2013-02-13 22:13:55 -07:00
Joshua Warner
740886d58e
begin splitting up compiler.cpp
2013-02-13 22:13:55 -07:00
Joshua Warner
ef5e534e1e
begin moving register allocator out of compiler.cpp
2013-02-13 22:13:55 -07:00
Joshua Warner
34471e5d60
factor out assert / abort / expect implementations
2013-02-13 22:13:52 -07:00
Joshua Warner
d7f088c9e7
adjust package structure in codegen (vm -> avian::codegen and avian::codegen::lir)
...
The eventual intent with the lir namespace is to formalize some of
the important bits of Assembler interface, to be tested, debug-printed,
and potentially, serialized.
Also, group arguments to apply(...) in OperandInfos
2013-02-12 17:47:57 -07:00
Joshua Warner
aacfb9ec85
fix unused function warnings in codegen/powerpc/assembler.cpp when building with clang
2013-02-12 17:45:19 -07:00
Joshua Warner
3589d5c205
Merge branch 'master' of git://github.com/ReadyTalk/avian
...
Conflicts:
src/codegen/arm/assembler.cpp
src/common.h
src/machine.cpp
2013-02-12 17:37:19 -07:00
Joshua Warner
f7b49ddb06
allow codegen targets (Architectures and Assemblers) to co-exist
...
The primary motivation behind this is to allow all the different Assemblers
to be built at once, on a single machine. This should dramatically reduce
the time required to make sure that a particular change doesn't break
the build for one of the not-so-common architectures (arm, powerpc)
Simply pass "codegen-targets=all" to make to compile all
src/codegen/<arch>/assembler.cpp.
Note that while these architectures are built, they will not be fully-
functional. Certain stuff is assumed to be the same across the entire
build (such as TargetBytesPerWord), but this isn't the case anymore.
2013-02-12 17:16:40 -07:00
Joshua Warner
68776e5d73
move all codegen source in to codegen/ dir
2013-02-10 18:55:38 -07:00