changeset 486:e545196bf14f

Fix cycle count for TIM From Doug Masten <doug@dougmasten.com>: Here's a small patch to correct the cycle counts for the "TIM" instruction.
author William Astle <lost@l-w.ca>
date Wed, 24 Apr 2019 19:54:51 -0600
parents bf24b8c856d1
children 7fbf3171ca15
files lwasm/cycle.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lwasm/cycle.c	Wed Apr 24 19:53:08 2019 -0600
+++ b/lwasm/cycle.c	Wed Apr 24 19:54:51 2019 -0600
@@ -565,9 +565,9 @@
 
 	{ 0x1f, 6, 4, 0 },					// TFR
 
-	{ 0x0b, 6, 6, CYCLE_ESTIMATED },	// TIM
-	{ 0x6b, 7, 7, CYCLE_ADJ | CYCLE_ESTIMATED },
-	{ 0x7b, 5, 5, CYCLE_ESTIMATED },
+	{ 0x0b, 6, 6, 0 },				// TIM
+	{ 0x6b, 7, 7, CYCLE_ADJ },
+	{ 0x7b, 7, 7, 0 },
 
 	{ 0x1138, 6, 6, CYCLE_ESTIMATED },	// TFM
 	{ 0x1139, 6, 6, CYCLE_ESTIMATED },