http://sourceware.org/bugzilla/show_bug.cgi?id=15159

             Bug #: 15159
           Summary: binutils lacks Intel SMAP support (clac and stac
                    instructions)
           Product: binutils
           Version: 2.24 (HEAD)
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: binutils
        AssignedTo: unassig...@sourceware.org
        ReportedBy: mi...@it.uu.se
    Classification: Unclassified


The Intel SMAP instructions "clac" and "stac" aren't supported by current
binutils, c.f. a build of yesterday's head:

> cat smap1.s
.text
clac
stac
> gas/as-new -o smap1.o smap1.s
smap1.s: Assembler messages:
smap1.s:2: Error: no such instruction: `clac'
smap1.s:3: Error: no such instruction: `stac'
> cat smap2.s
.text
.byte 0x0f,0x01,0xca
.byte 0x0f,0x01,0xcb
> gas/as-new -o smap2.o smap2.s
> binutils/objdump -d smap2.o 

smap2.o:     file format elf64-x86-64


Disassembly of section .text:

0000000000000000 <.text>:
   0:   0f 01                   (bad)  
   2:   ca 0f 01                lret   $0x10f
   5:   cb                      lret

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

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to