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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to