mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-02 07:32:52 +00:00
Support assembling fsqrt on darwin. This will be implemented better when
PowerPC gets subtarget support up. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22489 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
47183e51c2
commit
18ed029a7b
@ -192,6 +192,7 @@ namespace {
|
||||
|
||||
void printConstantPool(MachineConstantPool *MCP);
|
||||
bool runOnMachineFunction(MachineFunction &F);
|
||||
bool doInitialization(Module &M);
|
||||
bool doFinalization(Module &M);
|
||||
};
|
||||
|
||||
@ -426,6 +427,14 @@ void DarwinAsmPrinter::printConstantPool(MachineConstantPool *MCP) {
|
||||
}
|
||||
}
|
||||
|
||||
bool DarwinAsmPrinter::doInitialization(Module &M) {
|
||||
// FIXME: implment subtargets for PowerPC and pick this up from there.
|
||||
O << "\t.machine ppc970\n";
|
||||
|
||||
AsmPrinter::doInitialization(M);
|
||||
return false;
|
||||
}
|
||||
|
||||
bool DarwinAsmPrinter::doFinalization(Module &M) {
|
||||
const TargetData &TD = TM.getTargetData();
|
||||
std::string CurSection;
|
||||
|
Loading…
Reference in New Issue
Block a user