Project

General

Profile

Bug #4281

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

Added by Andrei Tatarnikov almost 6 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
High
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.

History

#1

Updated by Alexander Kamkin about 5 years ago

  • Priority changed from Normal to High

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

#2

Updated by Alexander Kamkin about 5 years ago

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

Updated by Andrei Tatarnikov over 4 years ago

  • Status changed from New to Open
#4

Updated by Andrei Tatarnikov over 4 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>.

#5

Updated by Andrei Tatarnikov over 4 years ago

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

Also available in: Atom PDF