Skip to content
  1. Dec 19, 2009
    • Sean Callanan's avatar
      Table-driven disassembler for the X86 architecture (16-, 32-, and 64-bit · 04cc307e
      Sean Callanan authored
      incarnations), integrated into the MC framework.  
      
      The disassembler is table-driven, using a custom TableGen backend to 
      generate hierarchical tables optimized for fast decode.  The disassembler 
      consumes MemoryObjects and produces arrays of MCInsts, adhering to the 
      abstract base class MCDisassembler (llvm/MC/MCDisassembler.h).
      
      The disassembler is documented in detail in
      
      - lib/Target/X86/Disassembler/X86Disassembler.cpp (disassembler runtime)
      - utils/TableGen/DisassemblerEmitter.cpp (table emitter)
      
      You can test the disassembler by running llvm-mc -disassemble for i386
      or x86_64 targets.  Please let me know if you encounter any problems
      with it.
      
      llvm-svn: 91749
      04cc307e
    • Dan Gohman's avatar
      Fix a comment. · b0da63da
      Dan Gohman authored
      llvm-svn: 91741
      b0da63da
  2. Dec 18, 2009
  3. Dec 17, 2009
  4. Dec 16, 2009
  5. Dec 15, 2009
  6. Dec 14, 2009
  7. Dec 09, 2009
  8. Dec 08, 2009
  9. Dec 07, 2009
  10. Dec 05, 2009
  11. Dec 04, 2009
  12. Dec 01, 2009
  13. Nov 29, 2009
  14. Nov 25, 2009
  15. Nov 24, 2009
  16. Nov 22, 2009
    • Daniel Dunbar's avatar
      FileCheck, PR5239: Try to find the intended match on failures, but looking for a · fd29d886
      Daniel Dunbar authored
      good nearby fuzzy match. Frequently the input is nearly correct, and just
      showing the user the a nearby sensible match is enough to diagnose the problem.
       - The "fuzzyness" is pretty simple and arbitrary, but worked on my three test
         cases. If you encounter problems, or places you think FileCheck should have
         guessed but didn't, please add test cases to PR5239.
      
      For example, previously FileCheck would report this:
      --
      t.cpp:21:55: error: expected string not found in input
      // CHECK: define void @_Z2f25f2_s1([[i64_i64_ty]] %a0)
                                                            ^
      <stdin>:19:30: note: scanning from here
      define void @_Z2f15f1_s1(%1) nounwind {
                                   ^
      <stdin>:19:30: note: with variable "i64_i64_ty" equal to "%0"
      --
      
      and now it also reports this:
      --
      <stdin>:27:1: note: possible intended match here
      define void @_Z2f25f2_s1(%0) nounwind {
      ^
      --
      
      which makes it clear that the CHECK just has an extra ' %a0' in it, without
      having to check the input.
      
      llvm-svn: 89631
      fd29d886
    • Daniel Dunbar's avatar
      FileCheck: When a string using variable references fails to match, print · e0ef65ab
      Daniel Dunbar authored
      additional information about the current definitions of the variables used in
      the string.
      
      llvm-svn: 89628
      e0ef65ab
    • Daniel Dunbar's avatar
      Allow '_' in FileCheck variable names, it is nice to have at least one · 57cb733b
      Daniel Dunbar authored
      separate character.
       - Chris, OK?
      
      llvm-svn: 89626
      57cb733b
    • Bob Wilson's avatar
      Fix whitespace. · 7248f864
      Bob Wilson authored
      llvm-svn: 89582
      7248f864
    • Bob Wilson's avatar
      Fix pr5470. Tablegen handles template arguments by temporarily setting their · 67e6cab4
      Bob Wilson authored
      values, resolving references to them, and then removing the definitions.
      If a template argument is set to an undefined value, we need to resolve
      references to that argument to an explicit undefined value.  The current code
      leaves the reference to the template argument as it is, which causes an
      assertion failure later when the definition of the template argument is
      removed.
      
      llvm-svn: 89581
      67e6cab4
Loading