Skip to content
  1. Sep 08, 2010
  2. Sep 07, 2010
  3. Sep 06, 2010
    • Chris Lattner's avatar
      Now that we know if we had a total fail on the instruction mnemonic, · 628fbecf
      Chris Lattner authored
      give a more detailed error.  Before:
      
      t.s:11:4: error: unrecognized instruction
         addl $1, $1
         ^
      t.s:12:4: error: unrecognized instruction
         f2efqefa $1
         ^
      
      After:
      
      t.s:11:4: error: invalid operand for instruction
         addl $1, $1
         ^
      t.s:12:4: error: invalid instruction mnemonic 'f2efqefa'
         f2efqefa $1
         ^
      
      This fixes rdar://8017912 - llvm-mc says "unrecognized instruction" when it means "invalid operands"
      
      llvm-svn: 113176
      628fbecf
    • Chris Lattner's avatar
      simplify the hacks around jrcxz. · 31c63fb5
      Chris Lattner authored
      llvm-svn: 113167
      31c63fb5
    • Chris Lattner's avatar
      have tblgen detect when an instruction would have matched, but · b4be28f3
      Chris Lattner authored
      failed because a subtarget feature was not enabled.  Use this to
      remove a bunch of hacks from the X86AsmParser for rejecting things
      like popfl in 64-bit mode.  Previously these hacks weren't needed,
      but were important to get a message better than "invalid instruction"
      when used in the wrong mode.
      
      This also fixes bugs where pushal would not be rejected correctly in
      32-bit mode (just pusha).
      
      llvm-svn: 113166
      b4be28f3
Loading