Skip to content
This repository has been archived by the owner on Sep 2, 2023. It is now read-only.

Add a "get element" instruction for vector registers #38

Open
mbitsnbites opened this issue Jul 23, 2018 · 0 comments
Open

Add a "get element" instruction for vector registers #38

mbitsnbites opened this issue Jul 23, 2018 · 0 comments

Comments

@mbitsnbites
Copy link
Member

mbitsnbites commented Jul 23, 2018

The instruction should transfer a single element from a vector register to a scalar register.

Note that this instruction goes against the regular model of scalar and vector operations since it:

  1. Is a single-cycle operation even if it takes a vector register as a source operand (and thus ignores VL).
  2. Targets a scalar register even if takes a vector register as a source operand.

As an extension it could copy the vector element to all elements in a destination vector register.

@mbitsnbites mbitsnbites changed the title Add a "get element" instruction Add a "get element" instruction for vector register Aug 15, 2018
@mbitsnbites mbitsnbites changed the title Add a "get element" instruction for vector register Add a "get element" instruction for vector registers Aug 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant