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 $mm = $w ?
'ymm' : 'xmm';
26 $sx = $w ?
'SY' : 'SO';
28 printf "%-15s %-31s %-47s %s\n",
30 "${mm}reg,${mm}reg,${mm}rm",
31 sprintf("[rvm:\tvex.dds.%d.66.0f38.w%d %02x /r]",
34 printf "%-15s %-31s %-47s %s\n",
37 sprintf("[r+vm:\tvex.dds.%d.66.0f38.w%d %02x /r]",
46 foreach $si ( sort(keys(%scalar_insns)) ) {
47 $op = $scalar_insns{$si};
48 foreach $order ('132', '213', '231') {
49 $xorder = substr($order,1,1).substr($order,0,1).substr($order,2,1);
50 foreach $o ($order, $xorder) {
51 for ($w = 0; $w < 2; $w++) {
52 $suf = $w ?
'sd' : 'ss';
54 $sx = $w ?
'SQ' : 'SD';
56 printf "%-15s %-31s %-47s %s\n",
58 "${mm}reg,${mm}reg,${mm}rm",
59 sprintf("[rvm:\tvex.dds.%d.66.0f38.w%d %02x /r]",
62 printf "%-15s %-31s %-47s %s\n",
65 sprintf("[r+vm:\tvex.dds.%d.66.0f38.w%d %02x /r]",