A method and apparatus for obtaining a scalar value from a vector register
for use in a mixed vector and scalar instruction, including providing a
vector in a vector register file, and embedding a location identifier of
the scalar value within the vector in the bits defining the mixed vector
and scalar instruction. The scalar value can be used directly from the
vector register without the need to load the scalar to a scalar register
prior to executing the instruction. The scalar location identifier may be
embedded in the secondary op code of the instruction, or the instruction
may have dedicated bits for providing the location of the scalar within
the vector.
Un metodo e un apparecchio per ottenere un valore scalare da un vettore registrano per uso in un vettore mixed ed in un'istruzione scalare, compreso fornire un vettore in una lima del registro di vettore e l'incastonatura del contrassegno di posizione del valore scalare all'interno del vettore nelle punte che definiscono il vettore mixed e l'istruzione scalare. Il valore scalare può essere usato direttamente dal registro di vettore senza la necessità di caricare lo scalare ad un registro scalare prima dell'esecuzione dell'istruzione. Il contrassegno scalare di posizione può essere incastonato nel codice op secondario dell'istruzione, o l'istruzione può dedicare le punte per fornire la posizione dello scalare all'interno del vettore.