Mercurial > hg > index.cgi
changeset 475:b9917c4dc6cf
Fix cycle counts for asr, cmpe, cmpf and cmpw.
author | Doug Masten <doug@dougmasten.com> |
---|---|
date | Mon, 10 Dec 2018 21:27:08 -0700 |
parents | 74d0c394666e |
children | eac8f5f0867d |
files | lwasm/cycle.c |
diffstat | 1 files changed, 13 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- a/lwasm/cycle.c Fri Nov 02 21:07:50 2018 -0600 +++ b/lwasm/cycle.c Mon Dec 10 21:27:08 2018 -0700 @@ -120,7 +120,7 @@ { 0x47, 2, 1, 0 }, // ASR { 0x57, 2, 1, 0 }, { 0x1047, 3, 2, 0 }, - { 0x07, 6, 6, 0 }, + { 0x07, 6, 5, 0 }, { 0x67, 6, 6, CYCLE_ADJ }, { 0x77, 7, 6, 0 }, @@ -192,15 +192,15 @@ { 0x10a3, 7, 6, CYCLE_ADJ }, { 0x10b3, 8, 6, 0 }, - { 0x1081, 3, 3, 0 }, // CMPE - { 0x1091, 5, 4, 0 }, - { 0x10a1, 5, 5, CYCLE_ADJ }, - { 0x10b1, 6, 5, 0 }, + { 0x1181, 3, 3, 0 }, // CMPE + { 0x1191, 5, 4, 0 }, + { 0x11a1, 5, 5, CYCLE_ADJ }, + { 0x11b1, 6, 5, 0 }, - { 0x10c1, 3, 3, 0 }, // CMPF - { 0x10d1, 5, 4, 0 }, - { 0x10e1, 5, 5, CYCLE_ADJ }, - { 0x10f1, 6, 5, 0 }, + { 0x11c1, 3, 3, 0 }, // CMPF + { 0x11d1, 5, 4, 0 }, + { 0x11e1, 5, 5, CYCLE_ADJ }, + { 0x11f1, 6, 5, 0 }, { 0x118c, 5, 4, 0 }, // CMPS { 0x119c, 7, 5, 0 }, @@ -212,10 +212,10 @@ { 0x11a3, 7, 6, CYCLE_ADJ }, { 0x11b3, 8, 6, 0 }, - { 0x1181, 5, 4, 0 }, // CMPW - { 0x1191, 7, 5, 0 }, - { 0x11a1, 7, 6, CYCLE_ADJ }, - { 0x11b1, 8, 6, 0 }, + { 0x1081, 5, 4, 0 }, // CMPW + { 0x1091, 7, 5, 0 }, + { 0x10a1, 7, 6, CYCLE_ADJ }, + { 0x10b1, 8, 6, 0 }, { 0x8c, 4, 3, 0 }, // CMPX { 0x9c, 6, 4, 0 },