Project

General

Profile

Actions

Bug #4281

closed

[translator] Support for aliases in memory (aka mem) definitions.

Added by Andrei Tatarnikov almost 11 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
High
Assignee:
Andrei Tatarnikov
Category:
-
Target version:
Start date:
07/01/2013
Due date:
05/31/2014
% Done:

100%

Estimated time:
Detected in build:
svn
Platform:
Published in build:
141230

Description

Подобные конструкции сейчас не поддерживаются транслятором Sim-nML:

mem tmp_signed_half_word [1, int(16)]
mem tmp_signed_half_word_A0 [1, int(8)] alias = tmp_signed_half_word[8]

Это одна из причин, по которой не удаётся оттранслировать спецификацию процессора MIPS.

Actions #1

Updated by Alexander Kamkin about 10 years ago

  • Priority changed from Normal to High

Нужно сделать до семинара с МЦСТ.

Actions #2

Updated by Alexander Kamkin about 10 years ago

  • Due date set to 05/31/2014
  • Target version set to 2.1
Actions #3

Updated by Andrei Tatarnikov over 9 years ago

  • Status changed from New to Open
Actions #4

Updated by Andrei Tatarnikov over 9 years ago

  • Status changed from Open to Resolved
  • % Done changed from 0 to 100

Implemented in r2835 (see also r2836 - size check).

The following structure is supported:

mem <NAME>[<N>, <TYPE>] alias = <LOCATION>

Memory <NAME> that consists of <N> elements is mapped on location <LOCATION>. Location size must be equal sizeof(<TYPE>) * <N>.

Actions #5

Updated by Andrei Tatarnikov over 9 years ago

  • Status changed from Resolved to Closed
  • Published in build set to 141230
Actions

Also available in: Atom PDF