Green instructions in decode table have unclear bitness

Any technical questions about the Epiphany chip and Parallella HW Platform.

Moderator: aolofsson

Green instructions in decode table have unclear bitness

Postby alexrp » Tue Dec 10, 2013 8:32 am

It is unclear whether these instructions are supposed to be 16-bit or 32-bit. 16-bit would be natural, given their bit patterns, but I'd rather be safe than sorry. Can these have explicit (16) and (32) added?
alexrp
 
Posts: 154
Joined: Mon Dec 17, 2012 3:22 am
Location: Thisted, Denmark

Re: Green instructions in decode table have unclear bitness

Postby aolofsson » Thu Dec 12, 2013 5:36 pm

alexrp,

Are you referring to the following instructions?

GIE
GID
NOP
IDLE
BKPT
RTI
TRAP

If so, then yes they are all 16 bit instructions. Any instruction table entry with all the bits [31:16] greyed out are 16 bit instructions.

Andreas
User avatar
aolofsson
 
Posts: 1005
Joined: Tue Dec 11, 2012 6:59 pm
Location: Lexington, Massachusetts,USA

Re: Green instructions in decode table have unclear bitness

Postby alexrp » Thu Dec 12, 2013 6:20 pm

Yep. And just to be absolutely sure, 32-bit versions of these instructions do not exist at all, even if unused by the toolchain?

I'm asking because I need to handle every possible valid instruction in my simulator.

BTW, what I meant should be done is add a "(16)" suffix to these instructions so it's clear that they're 16-bit as with others in the table.
alexrp
 
Posts: 154
Joined: Mon Dec 17, 2012 3:22 am
Location: Thisted, Denmark


Return to Epiphany and Parallella Q & A

Who is online

Users browsing this forum: No registered users and 19 guests