Last visit was: Sun Nov 02, 2025 5:00 pm
It is currently Sun Nov 02, 2025 5:00 pm



 [ 213 posts ]  Go to page Previous  1 ... 11, 12, 13, 14, 15
 Qupls (Q+) 
Author Message

Joined: Sat Feb 02, 2013 9:40 am
Posts: 2407
Location: Canada
Compare instruction formats and 2r1w instructions formats were worked on today. Instructions may specify the operation size 8,16,32 or 64 bits for integer instructions and the size of a constant (10,50,90, or 130) bits independently. The odd constant sizes are due to the use of 40-bit instruction words coupled with the ability to encode up to 10 bits in the 2r1w instruction. The constants will be extended or limited to the operation size.

An instruction may for instance specify a 90-bit constant but only a 32-bit operation which would allow the upper constant word to “hide” an instruction.
The 2r1w formats may substitute a constant for either register. There are also instructions that directly support a constant field of 20-bits, assuming one register (Rs1) and one constant are in use.

Branches are going to be based on a bit test of a vector from a compare result. The compare result is stored in a GPR. There will also be branches able to branch based on a register value or 0 (false),1(true),<0 or >0. The branch displacement is 20 bits.

_________________
Robert Finch http://www.finitron.ca


Wed Oct 29, 2025 3:05 am WWW

Joined: Mon Oct 07, 2019 2:41 am
Posts: 858
A branch to subroutine would be handy with 20 bit offset.


Sat Nov 01, 2025 12:01 am

Joined: Sat Feb 02, 2013 9:40 am
Posts: 2407
Location: Canada
Quote:
A branch to subroutine would be handy with 20 bit offset.

Unconditional branches and branch to subroutine have a 30-bit displacement.
Unconditional absolute jumps and calls have either a 30-bit or 70-bit address.
Conditional relative branches are stuck at 20-bits.

I have been looking at Qupls2024 version and thinking of modifying that instead. It had 64-bit instructions which would be reduced to 40-bits.
Also looking at the Stark tempted to modify that which has 32-bit instructions.
Not 100% sure which direction I am going ATM.

_________________
Robert Finch http://www.finitron.ca


Sun Nov 02, 2025 12:42 pm WWW
 [ 213 posts ]  Go to page Previous  1 ... 11, 12, 13, 14, 15

Who is online

Users browsing this forum: AhrefsBot, claudebot and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software