resistor45 has joined #amaranth-lang
<
resistor45>
Is there any way to set a default element to be returned when indexing an Array with an OOB index?
<
whitequark[cis]>
not currently; there's an RFC which may introduce a construct that does have it in a future version
<
resistor45>
Is there anything you'd recommend as an alternative? It seems painful to express with Mux or with m.Switch.
<
whitequark[cis]>
fill in the unused indices with a function
<
resistor45>
Thanks
<
whitequark[cis]>
are you building a SIMD unit?
<
resistor45>
Because I'm a masochist, yes
<
resistor45>
(Recommending vperm as a single cycle operation not actually recommended)
<
resistor45>
*Implementing
<
whitequark[cis]>
terrifying
<
resistor45>
resistor45: It's mostly an excuse to teach myself things
<
resistor45>
You people all suddenly spamming my Mastodon notifications with your favs and retoots 🤣
resistor45 has quit [Ping timeout: 250 seconds]
resistor22 has joined #amaranth-lang
resistor22 has quit [Client Quit]
Degi_ has joined #amaranth-lang
Degi has quit [Ping timeout: 256 seconds]
Degi_ is now known as Degi
<
_whitenotifier-9>
[YoWASP/clang] whitequark 93cab50 - Initial commit.
frgo_ has joined #amaranth-lang
frgo has quit [Read error: Connection reset by peer]
notgull has joined #amaranth-lang
notgull has quit [Ping timeout: 264 seconds]
d_olex has joined #amaranth-lang
dyniec has joined #amaranth-lang
lf has quit [Ping timeout: 240 seconds]
lf has joined #amaranth-lang