> You shouldn't have to add new classes to the .td file, just modify printOp > for your asmprinters.I dont think printOp is virtual and therefore cannot be overriden ? Aaron
On Tue, 12 Jul 2005, Aaron Gray wrote:>> You shouldn't have to add new classes to the .td file, just modify printOp >> for your asmprinters. > > I dont think printOp is virtual and therefore cannot be overriden ?Why does it need to be virtual? No 'intel' printers want % signs. -Chris -- http://nondot.org/sabre/ http://llvm.org/
>>> You shouldn't have to add new classes to the .td file, just modify >>> printOp for your asmprinters. >> >> I dont think printOp is virtual and therefore cannot be overriden ? > > Why does it need to be virtual? No 'intel' printers want % signs.The GAS intel code generator generates percents, look at the X86InstrInfo.td file it is full of them. The X86IntelAsmPrinter is not overridable and inheritable for this job. The X86MASMPrinter overrides too much for the Intel one to be useful. Aaron