Home | History | Annotate | Download | only in X86
      1 // RUN: llvm-mc -triple x86_64-unknown-unknown --show-encoding %s | FileCheck %s
      2 
      3 // PR8283
      4 
      5 // CHECK: pavgusb %mm2, %mm1  # encoding: [0x0f,0x0f,0xca,0xbf]
      6 pavgusb	%mm2, %mm1
      7 
      8 // CHECK: pavgusb 9(%esi,%edx), %mm3 # encoding: [0x67,0x0f,0x0f,0x5c,0x16,0x09,0xbf]
      9 pavgusb	9(%esi,%edx), %mm3
     10 
     11 
     12 // CHECK: pf2id %mm2, %mm1  # encoding: [0x0f,0x0f,0xca,0x1d]
     13 pf2id	%mm2, %mm1
     14 
     15 // CHECK: pf2id 9(%esi,%edx), %mm3 # encoding: [0x67,0x0f,0x0f,0x5c,0x16,0x09,0x1d]
     16 pf2id	9(%esi,%edx), %mm3
     17 
     18 // CHECK: pfacc %mm2, %mm1  # encoding: [0x0f,0x0f,0xca,0xae]
     19 pfacc	%mm2, %mm1
     20 
     21 // CHECK: pfadd %mm2, %mm1  # encoding: [0x0f,0x0f,0xca,0x9e]
     22 pfadd	%mm2, %mm1
     23 
     24 // CHECK: pfcmpeq %mm2, %mm1  # encoding: [0x0f,0x0f,0xca,0xb0]
     25 pfcmpeq	%mm2, %mm1
     26 
     27 // CHECK: pfcmpge %mm2, %mm1  # encoding: [0x0f,0x0f,0xca,0x90]
     28 pfcmpge	%mm2, %mm1
     29 
     30 // CHECK: pfcmpgt %mm2, %mm1  # encoding: [0x0f,0x0f,0xca,0xa0]
     31 pfcmpgt	%mm2, %mm1
     32 
     33 // CHECK: pfmax %mm2, %mm1  # encoding: [0x0f,0x0f,0xca,0xa4]
     34 pfmax	%mm2, %mm1
     35 
     36 // CHECK: pfmin %mm2, %mm1  # encoding: [0x0f,0x0f,0xca,0x94]
     37 pfmin	%mm2, %mm1
     38 
     39 // CHECK: pfmul %mm2, %mm1  # encoding: [0x0f,0x0f,0xca,0xb4]
     40 pfmul	%mm2, %mm1
     41 
     42 // CHECK: pfrcp %mm2, %mm1  # encoding: [0x0f,0x0f,0xca,0x96]
     43 pfrcp	%mm2, %mm1
     44 
     45 // CHECK: pfrcpit1 %mm2, %mm1  # encoding: [0x0f,0x0f,0xca,0xa6]
     46 pfrcpit1	%mm2, %mm1
     47 
     48 // CHECK: pfrcpit2 %mm2, %mm1  # encoding: [0x0f,0x0f,0xca,0xb6]
     49 pfrcpit2	%mm2, %mm1
     50 
     51 // CHECK: pfrsqit1 %mm2, %mm1  # encoding: [0x0f,0x0f,0xca,0xa7]
     52 pfrsqit1	%mm2, %mm1
     53 
     54 // CHECK: pfrsqrt %mm2, %mm1  # encoding: [0x0f,0x0f,0xca,0x97]
     55 pfrsqrt	%mm2, %mm1
     56 
     57 // CHECK: pfsub %mm2, %mm1  # encoding: [0x0f,0x0f,0xca,0x9a]
     58 pfsub	%mm2, %mm1
     59 
     60 // CHECK: pfsubr %mm2, %mm1  # encoding: [0x0f,0x0f,0xca,0xaa]
     61 pfsubr	%mm2, %mm1
     62 
     63 // CHECK: pi2fd %mm2, %mm1  # encoding: [0x0f,0x0f,0xca,0x0d]
     64 pi2fd	%mm2, %mm1
     65 
     66 // CHECK: pmulhrw %mm2, %mm1  # encoding: [0x0f,0x0f,0xca,0xb7]
     67 pmulhrw	%mm2, %mm1
     68 
     69 
     70 // CHECK: femms # encoding: [0x0f,0x0e]
     71 femms
     72 
     73 // CHECK: prefetch (%rax)   # encoding: [0x0f,0x0d,0x00]
     74 // CHECK: prefetchw (%rax)  # encoding: [0x0f,0x0d,0x08]
     75 prefetch (%rax)
     76 prefetchw (%rax)
     77 
     78 
     79 // CHECK: pf2iw %mm2, %mm1  # encoding: [0x0f,0x0f,0xca,0x1c]
     80 pf2iw %mm2, %mm1
     81 
     82 // CHECK: pi2fw %mm2, %mm1  # encoding: [0x0f,0x0f,0xca,0x0c]
     83 pi2fw %mm2, %mm1
     84 
     85 // CHECK: pfnacc %mm2, %mm1  # encoding: [0x0f,0x0f,0xca,0x8a]
     86 pfnacc %mm2, %mm1
     87 
     88 // CHECK: pfpnacc %mm2, %mm1  # encoding: [0x0f,0x0f,0xca,0x8e]
     89 pfpnacc %mm2, %mm1
     90 
     91 // CHECK: pswapd %mm2, %mm1  # encoding: [0x0f,0x0f,0xca,0xbb]
     92 pswapd %mm2, %mm1
     93