18 foreach $pi ( sort(keys(%packed_insns)) ) {
19 $op = $packed_insns{$pi};
20 foreach $order ('132', '213', '231') {
21 $xorder = substr($order,1,1).substr($order,0,1).substr($order,2,1);
22 foreach $o ($order, $xorder) {
23 for ($w = 0; $w < 2; $w++) {
24 $suf = $w ?
'pd' : 'ps';
25 for ($l = 128; $l <= 256; $l <<= 1) {
26 $sx = ($l == 256) ?
'SY' : 'SO';
27 $mm = ($l == 256) ?
'ymm' : 'xmm';
28 printf "%-15s %-31s %-8s%-39s %s\n",
30 "${mm}reg,${mm}reg,${mm}rm",
32 sprintf("vex.dds.%d.66.0f38.w%d %02x /r]",
35 printf "%-15s %-31s %-8s%-39s %s\n",
39 sprintf("vex.dds.%d.66.0f38.w%d %02x /r]",
49 foreach $si ( sort(keys(%scalar_insns)) ) {
50 $op = $scalar_insns{$si};
51 foreach $order ('132', '213', '231') {
52 $xorder = substr($order,1,1).substr($order,0,1).substr($order,2,1);
53 foreach $o ($order, $xorder) {
54 for ($w = 0; $w < 2; $w++) {
55 $suf = $w ?
'sd' : 'ss';
56 $sx = $w ?
'SQ' : 'SD';
59 printf "%-15s %-31s %-8s%-39s %s\n",
61 "${mm}reg,${mm}reg,${mm}rm",
63 sprintf("vex.dds.%d.66.0f38.w%d %02x /r]",
66 printf "%-15s %-31s %-8s%-39s %s\n",
70 sprintf("vex.dds.%d.66.0f38.w%d %02x /r]",