Article View: comp.arch
Article #583vector length CSR?
From: Robert Finch
Date: Sun, 08 Nov 2026 12:39
Date: Sun, 08 Nov 2026 12:39
18 lines
1891 bytes
1891 bytes
I tried asking the web-browser this and it returned a bunch of links to introduction to vectors. Am I right in thinking that the vector length and element size are basically stable throughout an application? If so, they can be stored in a config register. Otherwise, if they need to be changeable on a dynamic basis they would have to be processed like a GPR with renaming etc. Updating a CSR is rather slow as updates do not take place until commit time. ATM the config is just wired directly into the micro-op translate stage which would have really poor performance if things need to be modified on the fly. I looked at the RISCV vector extension model and they have it just as a CSR. Makes me think that is an acceptable solution.
Technical Details
Message-ID:
<11cpqih$acf5$1@dont-email.me>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Robert Finch <robfi680@gmail.com> Newsgroups: comp.arch Subject: vector length CSR? Date: Sun, 8 Nov 2026 07:39:44 -0500 Organization: A noiseless patient Spider Lines: 18 Message-ID: <11cpqih$acf5$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sun, 08 Nov 2026 12:39:46 +0000 (UTC) Injection-Info: dont-email.me; logging-data="340453"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18vysS+AiUawezukiBjhDy25wQqqOIRF+k="; posting-host="414ad73f35e7c7946f11f9bc1b663273" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:VdYQwRxQ5qsHojggUOTW1vt2w/I= sha256:CZHjNry0WoB+iHmlxHdzTKZjW4Ny4UDda6Tw+G3RvZs= sha1:dU0GaM+uDeDUOmjPXo7czqs1zxY= sha256:1vzCriKGNsRbqlPGkP/hPznpEnJAbywrVNulkQ/jw54= Content-Language: en-US