summaryrefslogtreecommitdiff
path: root/compiler/nativeGen/Platform.hs
Commit message (Collapse)AuthorAgeFilesLines
* Move Platform from compiler/nativeGen to compiler/utilsIan Lynagh2011-05-071-104/+0
| | | | We want to use it across the whole compiler now
* Remove dead Alpha native backend.Edward Z. Yang2011-04-301-5/+2
| | | | Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
* provide shared libraries support on i386-unknown-solaris2 platformKarel Gardas2010-12-171-0/+1
|
* fix CPP detection of Solaris in NCGKarel Gardas2010-12-171-3/+3
|
* Enable shared libs on OpenBSDMatthias Kilian2010-09-181-0/+4
|
* Patch for shared libraries support on FreeBSDIan Lynagh2010-01-061-1/+11
| | | | From Maxime Henrion <mhenrion@gmail.com>
* NCG: Split up the native code generator into arch specific modulesBen.Lippmeier@anu.edu.au2009-02-151-0/+92
- nativeGen/Instruction defines a type class for a generic instruction set. Each of the instruction sets we have, X86, PPC and SPARC are instances of it. - The register alloctors use this type class when they need info about a certain register or instruction, such as regUsage, mkSpillInstr, mkJumpInstr, patchRegs.. - nativeGen/Platform defines some data types enumerating the architectures and operating systems supported by the native code generator. - DynFlags now keeps track of the current build platform, and the PositionIndependentCode module uses this to decide what to do instead of relying of #ifdefs. - It's not totally retargetable yet. Some info info about the build target is still hardwired, but I've tried to contain most of it to a single module, TargetRegs. - Moved the SPILL and RELOAD instructions into LiveInstr. - Reg and RegClass now have their own modules, and are shared across all architectures.