89 lines · plain
1! RUN: not llvm-mc %s -triple=sparcv9 -show-encoding 2>&1 | FileCheck %s --check-prefixes=NO-CRYPTO --implicit-check-not=error:2! RUN: llvm-mc %s -triple=sparcv9 -mattr=+crypto -show-encoding | FileCheck %s --check-prefixes=CRYPTO3 4!! Crypto instructions.5 6! NO-CRYPTO: error: instruction requires a CPU feature not currently enabled7! CRYPTO: aes_eround01 %f0, %f2, %f4, %f6 ! encoding: [0x8c,0xc8,0x08,0x02]8aes_eround01 %f0, %f2, %f4, %f69! NO-CRYPTO: error: instruction requires a CPU feature not currently enabled10! CRYPTO: aes_eround23 %f0, %f2, %f4, %f6 ! encoding: [0x8c,0xc8,0x08,0x22]11aes_eround23 %f0, %f2, %f4, %f612! NO-CRYPTO: error: instruction requires a CPU feature not currently enabled13! CRYPTO: aes_dround01 %f0, %f2, %f4, %f6 ! encoding: [0x8c,0xc8,0x08,0x42]14aes_dround01 %f0, %f2, %f4, %f615! NO-CRYPTO: error: instruction requires a CPU feature not currently enabled16! CRYPTO: aes_dround23 %f0, %f2, %f4, %f6 ! encoding: [0x8c,0xc8,0x08,0x62]17aes_dround23 %f0, %f2, %f4, %f618! NO-CRYPTO: error: instruction requires a CPU feature not currently enabled19! CRYPTO: aes_eround01_l %f0, %f2, %f4, %f6 ! encoding: [0x8c,0xc8,0x08,0x82]20aes_eround01_l %f0, %f2, %f4, %f621! NO-CRYPTO: error: instruction requires a CPU feature not currently enabled22! CRYPTO: aes_eround23_l %f0, %f2, %f4, %f6 ! encoding: [0x8c,0xc8,0x08,0xa2]23aes_eround23_l %f0, %f2, %f4, %f624! NO-CRYPTO: error: instruction requires a CPU feature not currently enabled25! CRYPTO: aes_dround01_l %f0, %f2, %f4, %f6 ! encoding: [0x8c,0xc8,0x08,0xc2]26aes_dround01_l %f0, %f2, %f4, %f627! NO-CRYPTO: error: instruction requires a CPU feature not currently enabled28! CRYPTO: aes_dround23_l %f0, %f2, %f4, %f6 ! encoding: [0x8c,0xc8,0x08,0xe2]29aes_dround23_l %f0, %f2, %f4, %f630! NO-CRYPTO: error: instruction requires a CPU feature not currently enabled31! CRYPTO: aes_kexpand0 %f0, %f2, %f4 ! encoding: [0x89,0xb0,0x26,0x02]32aes_kexpand0 %f0, %f2, %f433! NO-CRYPTO: error: instruction requires a CPU feature not currently enabled34! CRYPTO: aes_kexpand1 %f0, %f2, 4, %f6 ! encoding: [0x8c,0xc8,0x09,0x02]35aes_kexpand1 %f0, %f2, 4, %f636! NO-CRYPTO: error: instruction requires a CPU feature not currently enabled37! CRYPTO: aes_kexpand2 %f0, %f2, %f4 ! encoding: [0x89,0xb0,0x26,0x22]38aes_kexpand2 %f0, %f2, %f439 40! NO-CRYPTO: error: instruction requires a CPU feature not currently enabled41! CRYPTO: camellia_f %f0, %f2, %f4, %f6 ! encoding: [0x8c,0xc8,0x09,0x82]42camellia_f %f0, %f2, %f4, %f643! NO-CRYPTO: error: instruction requires a CPU feature not currently enabled44! CRYPTO: camellia_fl %f0, %f2, %f4 ! encoding: [0x89,0xb0,0x27,0x82]45camellia_fl %f0, %f2, %f446! NO-CRYPTO: error: instruction requires a CPU feature not currently enabled47! CRYPTO: camellia_fli %f0, %f2, %f4 ! encoding: [0x89,0xb0,0x27,0xa2]48camellia_fli %f0, %f2, %f449 50! NO-CRYPTO: error: instruction requires a CPU feature not currently enabled51! CRYPTO: crc32c %f0, %f2, %f4 ! encoding: [0x89,0xb0,0x28,0xe2]52crc32c %f0, %f2, %f453 54! NO-CRYPTO: error: instruction requires a CPU feature not currently enabled55! CRYPTO: des_round %f0, %f2, %f4, %f6 ! encoding: [0x8c,0xc8,0x09,0x22]56des_round %f0, %f2, %f4, %f657! NO-CRYPTO: error: instruction requires a CPU feature not currently enabled58! CRYPTO: des_ip %f0, %f2 ! encoding: [0x85,0xb0,0x26,0x80]59des_ip %f0, %f260! NO-CRYPTO: error: instruction requires a CPU feature not currently enabled61! CRYPTO: des_iip %f0, %f2 ! encoding: [0x85,0xb0,0x26,0xa0]62des_iip %f0, %f263! NO-CRYPTO: error: instruction requires a CPU feature not currently enabled64! CRYPTO: des_kexpand %f0, 2, %f4 ! encoding: [0x89,0xb0,0x26,0xc2]65des_kexpand %f0, 2, %f466 67! NO-CRYPTO: error: instruction requires a CPU feature not currently enabled68! CRYPTO: md5 ! encoding: [0x81,0xb0,0x28,0x00]69md570! NO-CRYPTO: error: instruction requires a CPU feature not currently enabled71! CRYPTO: sha1 ! encoding: [0x81,0xb0,0x28,0x20]72sha173! NO-CRYPTO: error: instruction requires a CPU feature not currently enabled74! CRYPTO: sha256 ! encoding: [0x81,0xb0,0x28,0x40]75sha25676! NO-CRYPTO: error: instruction requires a CPU feature not currently enabled77! CRYPTO: sha512 ! encoding: [0x81,0xb0,0x28,0x60]78sha51279 80! NO-CRYPTO: error: instruction requires a CPU feature not currently enabled81! CRYPTO: mpmul 1 ! encoding: [0x81,0xb0,0x29,0x01]82mpmul 183! NO-CRYPTO: error: instruction requires a CPU feature not currently enabled84! CRYPTO: montmul 2 ! encoding: [0x81,0xb0,0x29,0x22]85montmul 286! NO-CRYPTO: error: instruction requires a CPU feature not currently enabled87! CRYPTO: montsqr 3 ! encoding: [0x81,0xb0,0x29,0x43]88montsqr 389