summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-06-24 21:45:27 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-06-24 21:45:27 -0700
commitd15bb009f64306ed89d1e94580b56210292724cc (patch)
tree0e63fcd8570d5d6a8f3b28035ecefb0bbff74c53 /misc
parent1d3e304546fad8dbcd26df3e7d69a3865bdaddf0 (diff)
downloadnasm-d15bb009f64306ed89d1e94580b56210292724cc.tar.gz
nasm-d15bb009f64306ed89d1e94580b56210292724cc.tar.bz2
nasm-d15bb009f64306ed89d1e94580b56210292724cc.zip
Intel FMA: drop relaxed forms
The Intel FMA instructions are destructive, so relaxed forms are not appropriate. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'misc')
-rwxr-xr-xmisc/genfma.pl22
1 files changed, 4 insertions, 18 deletions
diff --git a/misc/genfma.pl b/misc/genfma.pl
index 8f849c2..2b6a65c 100755
--- a/misc/genfma.pl
+++ b/misc/genfma.pl
@@ -32,13 +32,6 @@ foreach $pi ( sort(keys(%packed_insns)) ) {
sprintf("vex.dds.%d.66.0f38.w%d %02x /r]",
$l, $w, $op),
"FMA,FUTURE,${sx}";
- printf "%-15s %-31s %-8s%-39s %s\n",
- "\U${pi}${o}${suf}",
- "${mm}reg,${mm}rm",
- "[r+vm:",
- sprintf("vex.dds.%d.66.0f38.w%d %02x /r]",
- $l, $w, $op),
- "FMA,FUTURE,${sx}";
}
}
}
@@ -57,17 +50,10 @@ foreach $si ( sort(keys(%scalar_insns)) ) {
$l = 128;
$mm = 'xmm';
printf "%-15s %-31s %-8s%-39s %s\n",
- "\U${si}${o}${suf}",
- "${mm}reg,${mm}reg,${mm}rm",
- '[rvm:',
- sprintf("vex.dds.%d.66.0f38.w%d %02x /r]",
- $l, $w, $op),
- "FMA,FUTURE,${sx}";
- printf "%-15s %-31s %-8s%-39s %s\n",
- "\U${si}${o}${suf}",
- "${mm}reg,${mm}rm",
- '[r+vm:',
- sprintf("vex.dds.%d.66.0f38.w%d %02x /r]",
+ "\U${si}${o}${suf}",
+ "${mm}reg,${mm}reg,${mm}rm",
+ '[rvm:',
+ sprintf("vex.dds.%d.66.0f38.w%d %02x /r]",
$l, $w, $op),
"FMA,FUTURE,${sx}";
}