[LLVMbugs] [Bug 10266] New: MC does not recognise hyphenated VIA instructions

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jul 4 05:34:44 PDT 2011


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

           Summary: MC does not recognise hyphenated VIA instructions
           Product: libraries
           Version: trunk
          Platform: Other
        OS/Version: OpenBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: X86
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: jsg at openbsd.org
                CC: llvmbugs at cs.uiuc.edu


binutils has the VIA instructions in both the hyphenated form as used in the
VIA documentation and without.  It seems LLVM only has the form without the
hyphens.

xstore-rng
xcrypt-ecb
xcrypt-cbc
xcrypt-ctr
xcrypt-cfb
xcrypt-ofb

These instructions are used in both the kernel and userland (OpenSSL) of at
least OpenBSD. So it shows when using clang with the builtin assembler:

/usr/src/lib/libssl/crypto/../src/crypto/engine/hw_cryptodev.c:637:19: error: 
      invalid instruction mnemonic 'xcrypt'
        __asm __volatile("rep xcrypt-cbc" :
                         ^
<inline asm>:1:6: note: instantiated into assembly here
        rep xcrypt-cbc
            ^

Is it possible to add aliases so both sets of names can co-exist?

-- 
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