brintos

brintos / llvm-project-archived public Read only

0
0
Text · 12.9 KiB · 771d036 Raw
238 lines · plain
1! RUN: not llvm-mc %s -triple=sparcv9 -show-encoding 2>&1 | FileCheck %s --check-prefixes=NO-VIS --implicit-check-not=error:2! RUN: llvm-mc %s -triple=sparcv9 -mattr=+vis -show-encoding | FileCheck %s --check-prefixes=VIS3 4!! VIS 1 instructions.5 6! NO-VIS: error: instruction requires a CPU feature not currently enabled7! VIS: fpadd16 %f0, %f2, %f4                   ! encoding: [0x89,0xb0,0x0a,0x02]8fpadd16 %f0, %f2, %f49! NO-VIS: error: instruction requires a CPU feature not currently enabled10! VIS: fpadd16s %f1, %f3, %f5                  ! encoding: [0x8b,0xb0,0x4a,0x23]11fpadd16s %f1, %f3, %f512! NO-VIS: error: instruction requires a CPU feature not currently enabled13! VIS: fpadd32 %f0, %f2, %f4                   ! encoding: [0x89,0xb0,0x0a,0x42]14fpadd32 %f0, %f2, %f415! NO-VIS: error: instruction requires a CPU feature not currently enabled16! VIS: fpadd32s %f1, %f3, %f5                  ! encoding: [0x8b,0xb0,0x4a,0x63]17fpadd32s %f1, %f3, %f518! NO-VIS: error: instruction requires a CPU feature not currently enabled19! VIS: fpsub16 %f0, %f2, %f4                   ! encoding: [0x89,0xb0,0x0a,0x82]20fpsub16 %f0, %f2, %f421! NO-VIS: error: instruction requires a CPU feature not currently enabled22! VIS: fpsub16s %f1, %f3, %f5                  ! encoding: [0x8b,0xb0,0x4a,0xa3]23fpsub16s %f1, %f3, %f524! NO-VIS: error: instruction requires a CPU feature not currently enabled25! VIS: fpsub32 %f0, %f2, %f4                   ! encoding: [0x89,0xb0,0x0a,0xc2]26fpsub32 %f0, %f2, %f427! NO-VIS: error: instruction requires a CPU feature not currently enabled28! VIS: fpsub32s %f1, %f3, %f5                  ! encoding: [0x8b,0xb0,0x4a,0xe3]29fpsub32s %f1, %f3, %f530 31! NO-VIS: error: instruction requires a CPU feature not currently enabled32! VIS: fpack16 %f0, %f2                        ! encoding: [0x85,0xb0,0x07,0x60]33fpack16 %f0, %f234! NO-VIS: error: instruction requires a CPU feature not currently enabled35! VIS: fpack32 %f0, %f2, %f4                   ! encoding: [0x89,0xb0,0x07,0x42]36fpack32 %f0, %f2, %f437! NO-VIS: error: instruction requires a CPU feature not currently enabled38! VIS: fpackfix %f0, %f3                       ! encoding: [0x87,0xb0,0x07,0xa0]39fpackfix %f0, %f340! NO-VIS: error: instruction requires a CPU feature not currently enabled41! VIS: fexpand %f1, %f2                        ! encoding: [0x85,0xb0,0x09,0xa1]42fexpand %f1, %f243! NO-VIS: error: instruction requires a CPU feature not currently enabled44! VIS: fpmerge %f1, %f3, %f4                   ! encoding: [0x89,0xb0,0x49,0x63]45fpmerge %f1, %f3, %f446 47! NO-VIS: error: instruction requires a CPU feature not currently enabled48! VIS: fmul8x16 %f1, %f2, %f4                  ! encoding: [0x89,0xb0,0x46,0x22]49fmul8x16 %f1, %f2, %f450! NO-VIS: error: instruction requires a CPU feature not currently enabled51! VIS: fmul8x16au %f1, %f3, %f4                ! encoding: [0x89,0xb0,0x46,0x63]52fmul8x16au %f1, %f3, %f453! NO-VIS: error: instruction requires a CPU feature not currently enabled54! VIS: fmul8x16al %f1, %f3, %f4                ! encoding: [0x89,0xb0,0x46,0xa3]55fmul8x16al %f1, %f3, %f456! NO-VIS: error: instruction requires a CPU feature not currently enabled57! VIS: fmul8sux16 %f0, %f2, %f4                ! encoding: [0x89,0xb0,0x06,0xc2]58fmul8sux16 %f0, %f2, %f459! NO-VIS: error: instruction requires a CPU feature not currently enabled60! VIS: fmul8ulx16 %f0, %f2, %f4                ! encoding: [0x89,0xb0,0x06,0xe2]61fmul8ulx16 %f0, %f2, %f462! NO-VIS: error: instruction requires a CPU feature not currently enabled63! VIS: fmuld8sux16 %f1, %f3, %f4               ! encoding: [0x89,0xb0,0x47,0x03]64fmuld8sux16 %f1, %f3, %f465! NO-VIS: error: instruction requires a CPU feature not currently enabled66! VIS: fmuld8ulx16 %f1, %f3, %f4               ! encoding: [0x89,0xb0,0x47,0x23]67fmuld8ulx16 %f1, %f3, %f468 69! NO-VIS: error: instruction requires a CPU feature not currently enabled70! VIS: alignaddr %o0, %o1, %o2                 ! encoding: [0x95,0xb2,0x03,0x09]71alignaddr %o0, %o1, %o272! NO-VIS: error: instruction requires a CPU feature not currently enabled73! VIS: alignaddrl %o0, %o1, %o2                ! encoding: [0x95,0xb2,0x03,0x49]74alignaddrl %o0, %o1, %o275! NO-VIS: error: instruction requires a CPU feature not currently enabled76! VIS: faligndata %f0, %f2, %f4                ! encoding: [0x89,0xb0,0x09,0x02]77faligndata %f0, %f2, %f478 79! NO-VIS: error: instruction requires a CPU feature not currently enabled80! VIS: fzero %f0                               ! encoding: [0x81,0xb0,0x0c,0x00]81fzero %f082! NO-VIS: error: instruction requires a CPU feature not currently enabled83! VIS: fzeros %f1                              ! encoding: [0x83,0xb0,0x0c,0x20]84fzeros %f185! NO-VIS: error: instruction requires a CPU feature not currently enabled86! VIS: fone %f0                                ! encoding: [0x81,0xb0,0x0f,0xc0]87fone %f088! NO-VIS: error: instruction requires a CPU feature not currently enabled89! VIS: fones %f1                               ! encoding: [0x83,0xb0,0x0f,0xe0]90fones %f191! NO-VIS: error: instruction requires a CPU feature not currently enabled92! VIS: fsrc1 %f0, %f2                          ! encoding: [0x85,0xb0,0x0e,0x80]93fsrc1 %f0, %f294! NO-VIS: error: instruction requires a CPU feature not currently enabled95! VIS: fsrc1s %f1, %f3                         ! encoding: [0x87,0xb0,0x4e,0xa0]96fsrc1s %f1, %f397! NO-VIS: error: instruction requires a CPU feature not currently enabled98! VIS: fsrc2 %f0, %f2                          ! encoding: [0x85,0xb0,0x0f,0x00]99fsrc2 %f0, %f2100! NO-VIS: error: instruction requires a CPU feature not currently enabled101! VIS: fsrc2s %f1, %f3                         ! encoding: [0x87,0xb0,0x0f,0x21]102fsrc2s %f1, %f3103! NO-VIS: error: instruction requires a CPU feature not currently enabled104! VIS: fnot1 %f0, %f2                          ! encoding: [0x85,0xb0,0x0d,0x40]105fnot1 %f0, %f2106! NO-VIS: error: instruction requires a CPU feature not currently enabled107! VIS: fnot1s %f1, %f3                         ! encoding: [0x87,0xb0,0x4d,0x60]108fnot1s %f1, %f3109! NO-VIS: error: instruction requires a CPU feature not currently enabled110! VIS: fnot2 %f0, %f2                          ! encoding: [0x85,0xb0,0x0c,0xc0]111fnot2 %f0, %f2112! NO-VIS: error: instruction requires a CPU feature not currently enabled113! VIS: fnot2s %f1, %f3                         ! encoding: [0x87,0xb0,0x0c,0xe1]114fnot2s %f1, %f3115! NO-VIS: error: instruction requires a CPU feature not currently enabled116! VIS: for %f0, %f2, %f4                       ! encoding: [0x89,0xb0,0x0f,0x82]117for %f0, %f2, %f4118! NO-VIS: error: instruction requires a CPU feature not currently enabled119! VIS: fors %f1, %f3, %f5                      ! encoding: [0x8b,0xb0,0x4f,0xa3]120fors %f1, %f3, %f5121! NO-VIS: error: instruction requires a CPU feature not currently enabled122! VIS: fnor %f0, %f2, %f4                      ! encoding: [0x89,0xb0,0x0c,0x42]123fnor %f0, %f2, %f4124! NO-VIS: error: instruction requires a CPU feature not currently enabled125! VIS: fnors %f1, %f3, %f5                     ! encoding: [0x8b,0xb0,0x4c,0x63]126fnors %f1, %f3, %f5127! NO-VIS: error: instruction requires a CPU feature not currently enabled128! VIS: fand %f0, %f2, %f4                      ! encoding: [0x89,0xb0,0x0e,0x02]129fand %f0, %f2, %f4130! NO-VIS: error: instruction requires a CPU feature not currently enabled131! VIS: fands %f1, %f3, %f5                     ! encoding: [0x8b,0xb0,0x4e,0x23]132fands %f1, %f3, %f5133! NO-VIS: error: instruction requires a CPU feature not currently enabled134! VIS: fnand %f0, %f2, %f4                     ! encoding: [0x89,0xb0,0x0d,0xc2]135fnand %f0, %f2, %f4136! NO-VIS: error: instruction requires a CPU feature not currently enabled137! VIS: fnands %f1, %f3, %f5                    ! encoding: [0x8b,0xb0,0x4d,0xe3]138fnands %f1, %f3, %f5139! NO-VIS: error: instruction requires a CPU feature not currently enabled140! VIS: fxor %f0, %f2, %f4                      ! encoding: [0x89,0xb0,0x0d,0x82]141fxor %f0, %f2, %f4142! NO-VIS: error: instruction requires a CPU feature not currently enabled143! VIS: fxors %f1, %f3, %f5                     ! encoding: [0x8b,0xb0,0x4d,0xa3]144fxors %f1, %f3, %f5145! NO-VIS: error: instruction requires a CPU feature not currently enabled146! VIS: fxnor %f0, %f2, %f4                     ! encoding: [0x89,0xb0,0x0e,0x42]147fxnor %f0, %f2, %f4148! NO-VIS: error: instruction requires a CPU feature not currently enabled149! VIS: fxnors %f1, %f3, %f5                    ! encoding: [0x8b,0xb0,0x4e,0x63]150fxnors %f1, %f3, %f5151 152! NO-VIS: error: instruction requires a CPU feature not currently enabled153! VIS: fornot1 %f0, %f2, %f4                   ! encoding: [0x89,0xb0,0x0f,0x42]154fornot1 %f0, %f2, %f4155! NO-VIS: error: instruction requires a CPU feature not currently enabled156! VIS: fornot1s %f1, %f3, %f5                  ! encoding: [0x8b,0xb0,0x4f,0x63]157fornot1s %f1, %f3, %f5158! NO-VIS: error: instruction requires a CPU feature not currently enabled159! VIS: fornot2 %f0, %f2, %f4                   ! encoding: [0x89,0xb0,0x0e,0xc2]160fornot2 %f0, %f2, %f4161! NO-VIS: error: instruction requires a CPU feature not currently enabled162! VIS: fornot2s %f1, %f3, %f5                  ! encoding: [0x8b,0xb0,0x4e,0xe3]163fornot2s %f1, %f3, %f5164! NO-VIS: error: instruction requires a CPU feature not currently enabled165! VIS: fandnot1 %f0, %f2, %f4                  ! encoding: [0x89,0xb0,0x0d,0x02]166fandnot1 %f0, %f2, %f4167! NO-VIS: error: instruction requires a CPU feature not currently enabled168! VIS: fandnot1s %f1, %f3, %f5                 ! encoding: [0x8b,0xb0,0x4d,0x23]169fandnot1s %f1, %f3, %f5170! NO-VIS: error: instruction requires a CPU feature not currently enabled171! VIS: fandnot2 %f0, %f2, %f4                  ! encoding: [0x89,0xb0,0x0c,0x82]172fandnot2 %f0, %f2, %f4173! NO-VIS: error: instruction requires a CPU feature not currently enabled174! VIS: fandnot2s %f1, %f3, %f5                 ! encoding: [0x8b,0xb0,0x4c,0xa3]175fandnot2s %f1, %f3, %f5176 177! NO-VIS: error: instruction requires a CPU feature not currently enabled178! VIS: fcmpgt16 %f0, %f2, %o0                  ! encoding: [0x91,0xb0,0x05,0x02]179fcmpgt16 %f0, %f2, %o0180! NO-VIS: error: instruction requires a CPU feature not currently enabled181! VIS: fcmpgt32 %f0, %f2, %o0                  ! encoding: [0x91,0xb0,0x05,0x82]182fcmpgt32 %f0, %f2, %o0183! NO-VIS: error: instruction requires a CPU feature not currently enabled184! VIS: fcmple16 %f0, %f2, %o0                  ! encoding: [0x91,0xb0,0x04,0x02]185fcmple16 %f0, %f2, %o0186! NO-VIS: error: instruction requires a CPU feature not currently enabled187! VIS: fcmple32 %f0, %f2, %o0                  ! encoding: [0x91,0xb0,0x04,0x82]188fcmple32 %f0, %f2, %o0189! NO-VIS: error: instruction requires a CPU feature not currently enabled190! VIS: fcmpne16 %f0, %f2, %o0                  ! encoding: [0x91,0xb0,0x04,0x42]191fcmpne16 %f0, %f2, %o0192! NO-VIS: error: instruction requires a CPU feature not currently enabled193! VIS: fcmpne32 %f0, %f2, %o0                  ! encoding: [0x91,0xb0,0x04,0xc2]194fcmpne32 %f0, %f2, %o0195! NO-VIS: error: instruction requires a CPU feature not currently enabled196! VIS: fcmpeq16 %f0, %f2, %o0                  ! encoding: [0x91,0xb0,0x05,0x42]197fcmpeq16 %f0, %f2, %o0198! NO-VIS: error: instruction requires a CPU feature not currently enabled199! VIS: fcmpeq32 %f0, %f2, %o0                  ! encoding: [0x91,0xb0,0x05,0xc2]200fcmpeq32 %f0, %f2, %o0201 202! NO-VIS: error: instruction requires a CPU feature not currently enabled203! VIS: edge8 %o0, %o1, %o2                     ! encoding: [0x95,0xb2,0x00,0x09]204edge8 %o0, %o1, %o2205! NO-VIS: error: instruction requires a CPU feature not currently enabled206! VIS: edge8l %o0, %o1, %o2                    ! encoding: [0x95,0xb2,0x00,0x49]207edge8l %o0, %o1, %o2208! NO-VIS: error: instruction requires a CPU feature not currently enabled209! VIS: edge16 %o0, %o1, %o2                    ! encoding: [0x95,0xb2,0x00,0x89]210edge16 %o0, %o1, %o2211! NO-VIS: error: instruction requires a CPU feature not currently enabled212! VIS: edge16l %o0, %o1, %o2                   ! encoding: [0x95,0xb2,0x00,0xc9]213edge16l %o0, %o1, %o2214! NO-VIS: error: instruction requires a CPU feature not currently enabled215! VIS: edge32 %o0, %o1, %o2                    ! encoding: [0x95,0xb2,0x01,0x09]216edge32 %o0, %o1, %o2217! NO-VIS: error: instruction requires a CPU feature not currently enabled218! VIS: edge32l %o0, %o1, %o2                   ! encoding: [0x95,0xb2,0x01,0x49]219edge32l %o0, %o1, %o2220 221! NO-VIS: error: instruction requires a CPU feature not currently enabled222! VIS: pdist %f0, %f2, %f4                     ! encoding: [0x89,0xb0,0x07,0xc2]223pdist %f0, %f2, %f4224 225! NO-VIS: error: instruction requires a CPU feature not currently enabled226! VIS: array8 %o0, %o1, %o2                    ! encoding: [0x95,0xb2,0x02,0x09]227array8 %o0, %o1, %o2228! NO-VIS: error: instruction requires a CPU feature not currently enabled229! VIS: array16 %o0, %o1, %o2                   ! encoding: [0x95,0xb2,0x02,0x49]230array16 %o0, %o1, %o2231! NO-VIS: error: instruction requires a CPU feature not currently enabled232! VIS: array32 %o0, %o1, %o2                   ! encoding: [0x95,0xb2,0x02,0x89]233array32 %o0, %o1, %o2234 235! NO-VIS: error: instruction requires a CPU feature not currently enabled236! VIS: shutdown                                ! encoding: [0x81,0xb0,0x10,0x00]237shutdown238