Project

General

Profile

Actions

Bug #5685

closed

Usage of rand in trace

Added by Mikhail Chupilko over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Andrei Tatarnikov
Category:
Template Processor
Target version:
Start date:
03/04/2015
Due date:
% Done:

100%

Estimated time:
Detected in build:
2.1.4-beta-150219
Platform:
Published in build:
150324

Description

This construction won't be compiled, being a part of a ruby template.

x = rand(1, 12)
trace "\nInput parameter value: %d\n", x

Whereas this construction will work
x = rand(1, 12)
add x1, x0, x, 0

Actions #1

Updated by Andrei Tatarnikov over 9 years ago

  • Priority changed from Normal to Urgent
Actions #2

Updated by Alexander Kamkin over 9 years ago

  • Category set to Template Processor
  • Target version set to 2.1
Actions #3

Updated by Alexander Kamkin over 9 years ago

  • Subject changed from [template] Usage of rand in trace to Usage of rand in trace
Actions #4

Updated by Andrei Tatarnikov over 9 years ago

Fixed in r3274. The following code now works fine:

x = rand(1, 12)
addi t1, t0, x
trace "\nInput parameter value: %d\n", x
Actions #5

Updated by Andrei Tatarnikov over 9 years ago

Updated VLIW demo templates - r3275.

Actions #6

Updated by Andrei Tatarnikov over 9 years ago

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

miniMIPS test template examples were updated - r3276.

Actions #7

Updated by Andrei Tatarnikov over 9 years ago

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

Also available in: Atom PDF