comparison lwasm/cycle.c @ 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 9c24336fa76c
children
comparison
equal deleted inserted replaced
485:bf24b8c856d1 486:e545196bf14f
563 563
564 { 0x13, 2, 1, CYCLE_ESTIMATED }, // SYNC 564 { 0x13, 2, 1, CYCLE_ESTIMATED }, // SYNC
565 565
566 { 0x1f, 6, 4, 0 }, // TFR 566 { 0x1f, 6, 4, 0 }, // TFR
567 567
568 { 0x0b, 6, 6, CYCLE_ESTIMATED }, // TIM 568 { 0x0b, 6, 6, 0 }, // TIM
569 { 0x6b, 7, 7, CYCLE_ADJ | CYCLE_ESTIMATED }, 569 { 0x6b, 7, 7, CYCLE_ADJ },
570 { 0x7b, 5, 5, CYCLE_ESTIMATED }, 570 { 0x7b, 7, 7, 0 },
571 571
572 { 0x1138, 6, 6, CYCLE_ESTIMATED }, // TFM 572 { 0x1138, 6, 6, CYCLE_ESTIMATED }, // TFM
573 { 0x1139, 6, 6, CYCLE_ESTIMATED }, 573 { 0x1139, 6, 6, CYCLE_ESTIMATED },
574 { 0x113a, 6, 6, CYCLE_ESTIMATED }, 574 { 0x113a, 6, 6, CYCLE_ESTIMATED },
575 { 0x113b, 6, 6, CYCLE_ESTIMATED }, 575 { 0x113b, 6, 6, CYCLE_ESTIMATED },