Skip to content
  1. Mar 25, 2010
    • Jakob Stoklund Olesen's avatar
      Teach TableGen to understand X.Y notation in the TSFlagsFields strings. · f8d7eda6
      Jakob Stoklund Olesen authored
      Remove much horribleness from X86InstrFormats as a result. Similar
      simplifications are probably possible for other targets.
      
      llvm-svn: 99539
      f8d7eda6
    • Chris Lattner's avatar
      Change tblgen to emit FOOISD opcode names as two · 552dddc5
      Chris Lattner authored
      bytes instead of one byte.  This is important because
      we're running up to too many opcodes to fit in a byte
      and it is aggrevated by FIRST_TARGET_MEMORY_OPCODE
      making the numbering sparse.  This just bites the
      bullet and bloats out the table.  In practice, this
      increases the size of the x86 isel table from 74.5K
      to 76K.  I think we'll cope :)
      
      This fixes rdar://7791648
      
      llvm-svn: 99494
      552dddc5
    • Jakob Stoklund Olesen's avatar
      Fix evil TableGen bug in template parameters with defaults. · 0e457622
      Jakob Stoklund Olesen authored
      If a TableGen class has an initializer expression containing an X.Y subexpression,
      AND X depends on template parameters,
      AND those template parameters have defaults,
      AND some parameters with defaults are beyond position 1,
      THEN parts of the initializer expression are evaluated prematurely with the default values when the first explicit template parameter is substituted, before the remaining explicit template parameters have been substituted.
      
      llvm-svn: 99492
      0e457622
  2. Mar 24, 2010
  3. Mar 22, 2010
  4. Mar 21, 2010
  5. Mar 20, 2010
  6. Mar 19, 2010
  7. Mar 18, 2010
  8. Mar 16, 2010
    • Bob Wilson's avatar
      --- Reverse-merging r98637 into '.': · 1b4e8cc6
      Bob Wilson authored
      U    test/CodeGen/ARM/tls2.ll
      U    test/CodeGen/ARM/arm-negative-stride.ll
      U    test/CodeGen/ARM/2009-10-30.ll
      U    test/CodeGen/ARM/globals.ll
      U    test/CodeGen/ARM/str_pre-2.ll
      U    test/CodeGen/ARM/ldrd.ll
      U    test/CodeGen/ARM/2009-10-27-double-align.ll
      U    test/CodeGen/Thumb2/thumb2-strb.ll
      U    test/CodeGen/Thumb2/ldr-str-imm12.ll
      U    test/CodeGen/Thumb2/thumb2-strh.ll
      U    test/CodeGen/Thumb2/thumb2-ldr.ll
      U    test/CodeGen/Thumb2/thumb2-str_pre.ll
      U    test/CodeGen/Thumb2/thumb2-str.ll
      U    test/CodeGen/Thumb2/thumb2-ldrh.ll
      U    utils/TableGen/TableGen.cpp
      U    utils/TableGen/DisassemblerEmitter.cpp
      D    utils/TableGen/RISCDisassemblerEmitter.h
      D    utils/TableGen/RISCDisassemblerEmitter.cpp
      U    Makefile.rules
      U    lib/Target/ARM/ARMInstrNEON.td
      U    lib/Target/ARM/Makefile
      U    lib/Target/ARM/AsmPrinter/ARMInstPrinter.cpp
      U    lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp
      U    lib/Target/ARM/AsmPrinter/ARMInstPrinter.h
      D    lib/Target/ARM/Disassembler
      U    lib/Target/ARM/ARMInstrFormats.td
      U    lib/Target/ARM/ARMAddressingModes.h
      U    lib/Target/ARM/Thumb2ITBlockPass.cpp
      
      llvm-svn: 98640
      1b4e8cc6
    • Johnny Chen's avatar
      Initial ARM/Thumb disassembler check-in. It consists of a tablgen backend · 3d9327bd
      Johnny Chen authored
      (RISCDisassemblerEmitter) which emits the decoder functions for ARM and Thumb,
      and the disassembler core which invokes the decoder function and builds up the
      MCInst based on the decoded Opcode.
      
      Added sub-formats to the NeonI/NeonXI instructions to further refine the NEONFrm
      instructions to help disassembly.
      
      We also changed the output of the addressing modes to omit the '+' from the
      assembler syntax #+/-<imm> or +/-<Rm>.  See, for example, A8.6.57/58/60.
      
      And modified test cases to not expect '+' in +reg or #+num.  For example,
      
      ; CHECK:       ldr.w	r9, [r7, #28]
      
      llvm-svn: 98637
      3d9327bd
Loading