[llvm-commits] CVS: llvm/lib/Target/ARM/ARMTargetAsmInfo.h ARMTargetAsmInfo.cpp

2007-05-01 Thread Dale Johannesen
Changes in directory llvm/lib/Target/ARM: ARMTargetAsmInfo.h updated: 1.3 - 1.4 ARMTargetAsmInfo.cpp updated: 1.18 - 1.19 --- Log message: Add some support for (Darwin) code-generating directives in getInlineAsmLength. Support is incomplete, but more accurate than gcc's. --- Diffs of the

Re: [llvm-commits] CVS: llvm/lib/Target/ARM/ARMTargetAsmInfo.h ARMTargetAsmInfo.cpp

2007-05-01 Thread Evan Cheng
Woot! Fun stuff. :-) Thanks Dale. Evan On May 1, 2007, at 6:03 PM, Dale Johannesen wrote: Changes in directory llvm/lib/Target/ARM: ARMTargetAsmInfo.h updated: 1.3 - 1.4 ARMTargetAsmInfo.cpp updated: 1.18 - 1.19 --- Log message: Add some support for (Darwin) code-generating directives

[llvm-commits] CVS: llvm/lib/Target/ARM/ARMTargetAsmInfo.h ARMTargetAsmInfo.cpp

2007-04-29 Thread Dale Johannesen
Changes in directory llvm/lib/Target/ARM: ARMTargetAsmInfo.h updated: 1.2 - 1.3 ARMTargetAsmInfo.cpp updated: 1.15 - 1.16 --- Log message: Make ARM-specific version of getInlineAsmLength --- Diffs of the changes: (+53 -0) ARMTargetAsmInfo.cpp | 51

Re: [llvm-commits] CVS: llvm/lib/Target/ARM/ARMTargetAsmInfo.h ARMTargetAsmInfo.cpp

2007-04-29 Thread Lauro Ramos Venancio
+/// ARM-specific version of TargetAsmInfo::getInlineAsmLength. +unsigned ARMTargetAsmInfo::getInlineAsmLength(const char *Str) const { + // Count the number of bytes in the asm. + bool atInsnStart = true; + unsigned Length = 0; + for (; *Str; ++Str) { +if (atInsnStart) { + // Skip