Home | History | Annotate | Download | only in MBlaze
      1 # RUN: llvm-mc -triple mblaze-unknown-unknown -show-encoding %s | FileCheck %s
      2 
      3 # Test to ensure that all FPU instructions can be parsed by the
      4 # assembly parser correctly.
      5 
      6 # TYPE A:   OPCODE RD    RA    RB    FLAGS
      7 # BINARY:   011011 00000 00000 00000 00000000000
      8 
      9 # CHECK:    pcmpbf
     10 # BINARY:   100000 00000 00001 00010 10000000000
     11 # CHECK:    encoding: [0x80,0x01,0x14,0x00]
     12             pcmpbf      r0, r1, r2
     13 
     14 # CHECK:    pcmpne
     15 # BINARY:   100011 00000 00001 00010 10000000000
     16 # CHECK:    encoding: [0x8c,0x01,0x14,0x00]
     17             pcmpne      r0, r1, r2
     18 
     19 # CHECK:    pcmpeq
     20 # BINARY:   100010 00000 00001 00010 10000000000
     21 # CHECK:    encoding: [0x88,0x01,0x14,0x00]
     22             pcmpeq      r0, r1, r2
     23