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]",
42 foreach $si ( sort(keys(%scalar_insns)) ) {
43 $op = $scalar_insns{$si};
44 foreach $order ('132', '213', '231') {
45 $xorder = substr($order,1,1).substr($order,0,1).substr($order,2,1);
46 foreach $o ($order, $xorder) {
47 for ($w = 0; $w < 2; $w++) {
48 $suf = $w ?
'sd' : 'ss';
49 $sx = $w ?
'SQ' : 'SD';
52 printf "%-15s %-31s %-8s%-39s %s\n",
54 "${mm}reg,${mm}reg,${mm}rm",
56 sprintf("vex.dds.%d.66.0f38.w%d %02x /r]",