diff options
author | David Schleef <ds@schleef.org> | 2010-09-28 13:01:31 -0700 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2010-09-29 20:08:18 -0700 |
commit | 90efbb7b13af9c9183b6740ac84814e911fd90cb (patch) | |
tree | aed281845dde09e04bd83d00d887539b623f8fee /testsuite | |
parent | 3b627c22228660511c82d8ed317a3c7ecd976412 (diff) |
Fix documentation of opcodes
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/generate_xml_table2.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/testsuite/generate_xml_table2.c b/testsuite/generate_xml_table2.c index 9294e4b..750d840 100644 --- a/testsuite/generate_xml_table2.c +++ b/testsuite/generate_xml_table2.c @@ -163,8 +163,8 @@ struct a ops[] = { { "minsl", "(a < b) ? a : b", "signed minimum" }, { "minul", "(a < b) ? a : b", "unsigned minimum" }, { "mulll", "a * b", "low bits of multiply" }, - { "mulhsl", "(a * b) >> 8", "high bits of signed multiply" }, - { "mulhul", "(a * b) >> 8", "high bits of unsigned multiply" }, + { "mulhsl", "(a * b) >> 16", "high bits of signed multiply" }, + { "mulhul", "(a * b) >> 16", "high bits of unsigned multiply" }, { "orl", "a | b", "bitwise or" }, { "shll", "a << b", "shift left" }, { "shrsl", "a >> b", "signed shift right" }, @@ -185,10 +185,10 @@ struct a ops[] = { { "convusswb", "clamp(a)", "convert unsigned to signed with saturation" }, { "convuuswb", "clamp(a)", "convert unsigned to unsigned with saturation" }, { "convlw", "a", "convert" }, - { "convssslw", "clamp(a)", "convert signed to unsigned with saturation" }, - { "convsuslw", "clamp(a)", "convert signed to signed with saturation" }, - { "convusslw", "clamp(a)", "convert unsigned to unsigned with saturation" }, - { "convuuslw", "clamp(a)", "convert unsigned to signed with saturation" }, + { "convssslw", "clamp(a)", "convert signed to signed with saturation" }, + { "convsuslw", "clamp(a)", "convert signed to unsigned with saturation" }, + { "convusslw", "clamp(a)", "convert unsigned to signed with saturation" }, + { "convuuslw", "clamp(a)", "convert unsigned to unsigned with saturation" }, { "mulsbw", "a * b", "multiply signed" }, { "mulubw", "a * b", "multiply unsigned" }, { "mulswl", "a * b", "multiply signed" }, @@ -254,10 +254,10 @@ struct a ops[] = { { "convulq", "a", "unsigned convert" }, { "convhwb", "a>>8", "shift and convert" }, { "convhlw", "a>>16", "shift and convert" }, - { "convsssql", "clamp(a)", "convert signed to unsigned with saturation" }, - { "convsusql", "clamp(a)", "convert signed to signed with saturation" }, - { "convussql", "clamp(a)", "convert unsigned to unsigned with saturation" }, - { "convuusql", "clamp(a)", "convert unsigned to signed with saturation" }, + { "convsssql", "clamp(a)", "convert signed to signed with saturation" }, + { "convsusql", "clamp(a)", "convert signed to unsigned with saturation" }, + { "convussql", "clamp(a)", "convert unsigned to signed with saturation" }, + { "convuusql", "clamp(a)", "convert unsigned to unsigned with saturation" }, }; |