[LLVMbugs] [Bug 9164] New: [MC] fsubp invalid operand for instruction

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Feb 7 22:33:19 PST 2011


http://llvm.org/bugs/show_bug.cgi?id=9164

           Summary: [MC] fsubp invalid operand for instruction
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: nlewycky at google.com
                CC: llvmbugs at cs.uiuc.edu


llvm-mc doesn't assemble this:

  $ cat sub.s
  fsubp   %st, %st(2)
  $ llvm/Debug+Asserts/bin/llvm-mc sub.s
          .section        __TEXT,__text,regular,pure_instructions
  sub.s:1:14: error: invalid operand for instruction
  fsubp   %st, %st(2)
           ^

but gas seems fine with it:

  $ as sub.s -o sub.o
  $ objdump -d sub.o

  sub.o:     file format elf64-x86-64


  Disassembly of section .text:

  0000000000000000 <.text>:
     0:   de e2                   fsubp  %st,%st(2)

It'd be nice if we did that too!

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list