<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacker News: monocasa</title><link>https://news.ycombinator.com/user?id=monocasa</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Tue, 18 Aug 2026 11:50:13 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=monocasa" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by monocasa in "SIMD in the 90s: Programming Intel's Pentium MMX"]]></title><description><![CDATA[
<p>It came from GF3, which had full vertex and pixel shaders.<p>Also, the GF4MX was just a GeForce256 in a trenchcoat, and didn't have vertex shaders (at least exposed to software, the T&L engine was still a vertex shader like engine, only the code was all written by nvidia and loaded from ROM).</p>
]]></description><pubDate>Mon, 17 Aug 2026 00:33:32 +0000</pubDate><link>https://news.ycombinator.com/item?id=49325290</link><dc:creator>monocasa</dc:creator><comments>https://news.ycombinator.com/item?id=49325290</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49325290</guid></item><item><title><![CDATA[New comment by monocasa in "SIMD in the 90s: Programming Intel's Pentium MMX"]]></title><description><![CDATA[
<p>> which was one of the rumored reasons for removing 16-bit NTVDM support<p>They already had a 16-bit software emulator for running NTVDM on other archs.<p>Apparently the real reason was they wanted to drop some software compatibility restrictions, like the small max size of HANDLE tables needed for 16-bit compat.</p>
]]></description><pubDate>Mon, 17 Aug 2026 00:26:51 +0000</pubDate><link>https://news.ycombinator.com/item?id=49325244</link><dc:creator>monocasa</dc:creator><comments>https://news.ycombinator.com/item?id=49325244</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49325244</guid></item><item><title><![CDATA[New comment by monocasa in "RISC-V: They Should Have Known Better"]]></title><description><![CDATA[
<p>That's why I put 'worked for free' in quotes like that.</p>
]]></description><pubDate>Sat, 15 Aug 2026 19:09:45 +0000</pubDate><link>https://news.ycombinator.com/item?id=49313347</link><dc:creator>monocasa</dc:creator><comments>https://news.ycombinator.com/item?id=49313347</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49313347</guid></item><item><title><![CDATA[New comment by monocasa in "RISC-V: They Should Have Known Better"]]></title><description><![CDATA[
<p>HP proper.  It was a PA-RISC they were targeting.<p><a href="https://cseweb.ucsd.edu/classes/sp00/cse231/dynamopldi.pdf" rel="nofollow">https://cseweb.ucsd.edu/classes/sp00/cse231/dynamopldi.pdf</a></p>
]]></description><pubDate>Sat, 15 Aug 2026 18:22:34 +0000</pubDate><link>https://news.ycombinator.com/item?id=49312939</link><dc:creator>monocasa</dc:creator><comments>https://news.ycombinator.com/item?id=49312939</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49312939</guid></item><item><title><![CDATA[New comment by monocasa in "RISC-V: They Should Have Known Better"]]></title><description><![CDATA[
<p>> I agree that 16-bit/32-bit variable length would struggle to beat x86. But I suspect it could have gotten close, simply because x86 wastes a huge amount of its advantage on legacy cruft.<p>I'm saying the opposite.  Maybe some theoretical CISC-V would leave RISC-V behind, but x86(and -64) makes wild choices for instruction density, and RV64GC already clearly beats x86-64 in .text density.<p>> My secondary point, is that why should RISC-V limit itself to just 16-bit/32-bit? It has the encoding space set aside for 6 bytes, 8 bytes, 10 bytes and all the way up to 24 bytes (which is overkill). If it's already paying the variable length tax, it should be making better use of it. IMO, a 2, 4, 6, 8, 10... byte scheme should be able to massively improve on x86's code density.<p>There's nonlinear issues as you add more options.  A 16-32 decoder is pretty simple, a 16-32-48 isn't the worse thing in the world (and a 32bit immediate might make it worth it), but you start to hit weird explosions in gate count once you go much past that.  Hence x86's splitting into essentially multiple front end banks in modern designs, and even then typically only has one decoder per bank that can decode everything, and even that takes multiple cycles for some instruction sequences, even just to discover the length.<p>The larger lengths in the RISC-V spec are more targeted towards bespoke stuff like GPGPU that's maxing out issuing a single instruction per instruction stream anyway.  When you look at shader machine code, it's clear density was essentially an afterthought, but they love them some 64bit wide instructions.  Which unsurprisingly is pretty much the same width of vertical microcode in archs that still do such a thing.</p>
]]></description><pubDate>Sat, 15 Aug 2026 04:18:51 +0000</pubDate><link>https://news.ycombinator.com/item?id=49307594</link><dc:creator>monocasa</dc:creator><comments>https://news.ycombinator.com/item?id=49307594</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49307594</guid></item><item><title><![CDATA[New comment by monocasa in "RISC-V: They Should Have Known Better"]]></title><description><![CDATA[
<p>I mean, Apple is different from pretty much every other manufacturer here.  They collborated in the design of aarch64, and a rumored to own a lot of the base IP themselves which they've cross licensed with ARM.  It's very close to AMD:Intel::Apple:ARM when it comes to aarch64.  That heavily changes the licensing costs.  My point isn't that RISC-V is markedly better, but instead that it's equivalent from a perf achievable from in the same nexus of PPA and NRE effort.  So there's no reason for Apple to take the pain of a leap with no real gain, but NRE losses.<p>I would expect to see RISC-V Android phones (probably initially out of China, despite ARM China) within the next few years.  They've been busy bees since RVA23 was ratified with a bunch of Chinese companies making changes to optimize AOSP for RVA23.  I've also heard on the grapevine that NT already has a RISC-V port internally, but take that with whatever grain of salt you feel like.  But Microsoft has already been contributing to the RISC-V specs (they contributed to Ztso for instance).</p>
]]></description><pubDate>Sat, 15 Aug 2026 04:06:32 +0000</pubDate><link>https://news.ycombinator.com/item?id=49307547</link><dc:creator>monocasa</dc:creator><comments>https://news.ycombinator.com/item?id=49307547</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49307547</guid></item><item><title><![CDATA[New comment by monocasa in "RISC-V: They Should Have Known Better"]]></title><description><![CDATA[
<p>I said easily less than half a pipeline not a full stage.  Everything kind of shifts around a bit because of that, and it ends up being a pretty different design than a fixed width front end because of it (hence qualcomm's objections), but it's not clearly worse.<p>And for better than aarch64 density, it seems to make a lot of sense.</p>
]]></description><pubDate>Sat, 15 Aug 2026 03:54:40 +0000</pubDate><link>https://news.ycombinator.com/item?id=49307487</link><dc:creator>monocasa</dc:creator><comments>https://news.ycombinator.com/item?id=49307487</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49307487</guid></item><item><title><![CDATA[New comment by monocasa in "RISC-V: They Should Have Known Better"]]></title><description><![CDATA[
<p>> You do realize that Linux got basic SMP support 3 years after NT?<p>Linux started about three years after NT did.  And NT could only support 64 processors for a long time when Linux could support thousands.<p>> It still does not have reliable sleep-wake.<p>Neither does NT really.  Both depend on ACPI for the systems you're talking about, and it's the platform interface that's ultimately fucked.<p>> And it only added native async file i/o in 2019, while NT has had it on the same hardware since 1993<p>And has beaten NT on IO throughput for decades, and even now windows ships with a linux kernel integration because running Linux on a hypervisor is far batter for filesystem ops than running those on NT.<p>And the new async I/O API was so good that NT adopted it wholesale and didn't even bother changing the name.  <a href="https://learn.microsoft.com/en-us/windows/win32/api/ioringapi/" rel="nofollow">https://learn.microsoft.com/en-us/windows/win32/api/ioringap...</a><p>>  So.. i'll expect an in-order core with an IPC south of 0.5 that cannot exit low power sleep 30% of the time in a decade or so.<p>There are already open source OoO RISC-V cores.<p>But the point originally isn't to be some Linux fan boy (I've written a decent amount of NT kernel code, and have a lot of respect for NT and the things it did right).  It's to point out how the upcoming changes inherent to how chips are made and the latencies between gate count targets will better support open collaboration.  And once that's supported properly, open source has a tendency to kind of snowball.</p>
]]></description><pubDate>Sat, 15 Aug 2026 03:48:57 +0000</pubDate><link>https://news.ycombinator.com/item?id=49307461</link><dc:creator>monocasa</dc:creator><comments>https://news.ycombinator.com/item?id=49307461</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49307461</guid></item><item><title><![CDATA[New comment by monocasa in "RISC-V: They Should Have Known Better"]]></title><description><![CDATA[
<p>There's a huge difference between 2/4 byte variable density and 1-15 byte variable density.  And as I've said in other places, my experiments showed that it ended up being kind of across the board less than half a pipeline stage to handle C instructions, kind of orthogonally to decode width.<p>It is a different front end design, so that's why Qualcomm didn't want to reengineer their aarch64 core more than they had to, but the rest of the riscv community was right to not embrace it.<p>Not to mention that a lot of the aarch64 derived pieces in the proposed qualcomm extension are almost certainly patent encumbered.  Qualcomm can absolutely handle just about any patent fight, but other risc-v companies can't.</p>
]]></description><pubDate>Sat, 15 Aug 2026 03:36:27 +0000</pubDate><link>https://news.ycombinator.com/item?id=49307380</link><dc:creator>monocasa</dc:creator><comments>https://news.ycombinator.com/item?id=49307380</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49307380</guid></item><item><title><![CDATA[New comment by monocasa in "RISC-V: They Should Have Known Better"]]></title><description><![CDATA[
<p>That's sort of orthogonal to what I'm saying.<p>And the M5 doesn't have 500B transistors.  We're well into the beginning of the ossification.  Hell, it arguably started ~2006 with the end of dennard scaling leaving us with Tomasulo OoO cores being the design that makes the most sense for application cores, just getting wider over time as we get more gates.</p>
]]></description><pubDate>Sat, 15 Aug 2026 03:29:55 +0000</pubDate><link>https://news.ycombinator.com/item?id=49307329</link><dc:creator>monocasa</dc:creator><comments>https://news.ycombinator.com/item?id=49307329</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49307329</guid></item><item><title><![CDATA[New comment by monocasa in "RISC-V: They Should Have Known Better"]]></title><description><![CDATA[
<p>You don't really have to have a separate decoder every 16-bits.  What you have is a length decoder every 16 bits (so just a single nand gate over the first two bits versus a huge chunk of the prefix/opcode part of the decoder for x86), which then feeds into a set of muxes for the actual decoders.  The actual increase in complexity ends up coming from the critical path of the stack up of length selection affecting start addresses (and therefore mux selections) for later instructions in the block, but even that's not nearly as bad as it sounds because you can use the same base trick behind a carry lookahead adder.  When I did some experiments a while back, it ended up being less than half a pipeline stage overhead versus fixed width instructions kind of across the board.<p>So not nothing, but very far from a deal breaker even for wide 8, 10, or even 12 wide cores.</p>
]]></description><pubDate>Sat, 15 Aug 2026 03:23:40 +0000</pubDate><link>https://news.ycombinator.com/item?id=49307287</link><dc:creator>monocasa</dc:creator><comments>https://news.ycombinator.com/item?id=49307287</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49307287</guid></item><item><title><![CDATA[New comment by monocasa in "RISC-V: They Should Have Known Better"]]></title><description><![CDATA[
<p>The same kind of people that 'worked for free' to develop Linux.</p>
]]></description><pubDate>Sat, 15 Aug 2026 03:07:03 +0000</pubDate><link>https://news.ycombinator.com/item?id=49307220</link><dc:creator>monocasa</dc:creator><comments>https://news.ycombinator.com/item?id=49307220</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49307220</guid></item><item><title><![CDATA[New comment by monocasa in "RISC-V: They Should Have Known Better"]]></title><description><![CDATA[
<p>The aarch64 stuff still has some time, particularly if you want stuff like virtualization.</p>
]]></description><pubDate>Sat, 15 Aug 2026 02:50:43 +0000</pubDate><link>https://news.ycombinator.com/item?id=49307136</link><dc:creator>monocasa</dc:creator><comments>https://news.ycombinator.com/item?id=49307136</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49307136</guid></item><item><title><![CDATA[New comment by monocasa in "RISC-V: They Should Have Known Better"]]></title><description><![CDATA[
<p>Everything I've seen is that rv64gc is very competitive with aarch64 wrt code density.</p>
]]></description><pubDate>Sat, 15 Aug 2026 02:49:28 +0000</pubDate><link>https://news.ycombinator.com/item?id=49307130</link><dc:creator>monocasa</dc:creator><comments>https://news.ycombinator.com/item?id=49307130</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49307130</guid></item><item><title><![CDATA[New comment by monocasa in "RISC-V: They Should Have Known Better"]]></title><description><![CDATA[
<p>You've also got tons of prefixes with opcode dependent rules on what's allowed there, the opcode field itself is variable length (I've seen up to four bytes), you've got instructions that treat that immediate field as additional opcode bytes, etc.</p>
]]></description><pubDate>Sat, 15 Aug 2026 02:43:08 +0000</pubDate><link>https://news.ycombinator.com/item?id=49307110</link><dc:creator>monocasa</dc:creator><comments>https://news.ycombinator.com/item?id=49307110</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49307110</guid></item><item><title><![CDATA[New comment by monocasa in "RISC-V: They Should Have Known Better"]]></title><description><![CDATA[
<p>> The second category for big-compute is actual desktops and SBCs that do interactive computation, browsing, gaming, and other such "desktop work". I do not expect RISC-V to be a serious player at the top of this market. Simply put, the architecture is not designed for it, as pointed out above. Additionally, this market has the margins to afford licensing a much-better-designed aarch64 core from ARM, and gain proper support from a much larger corpus of software. Before you get your megaphone to shout about "openness", please note that the openness of the RISC-V spec is not relevant here at all, because an open spec does not magically materialize a well-designed out-of-order core for you for free. And if someone were to design a good out-of-order core, they would not be giving it away for free. An open spec does not mean every implementation is free.<p>I basically disagree with this.  Not because this isn't the current state of things (it absolutely is), but because we're at a bit of an inflection point where mooore's law has proved itself to be an scurve, and we're very clearly well into the top half of it.  From that, gate counts per core will also start to ossify, and that means the longer latency for getting an open core design off the ground initially will also start to make sense.</p>
]]></description><pubDate>Sat, 15 Aug 2026 02:38:54 +0000</pubDate><link>https://news.ycombinator.com/item?id=49307082</link><dc:creator>monocasa</dc:creator><comments>https://news.ycombinator.com/item?id=49307082</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49307082</guid></item><item><title><![CDATA[New comment by monocasa in "RISC-V: They Should Have Known Better"]]></title><description><![CDATA[
<p>Those aren't mutually exclusive.  Some of the sophgo and bouffalo chips have 8051s for always on cores, and riscv for the main cores.<p>They didn't choose 8051 there for experience, but because it was a tiny core with a decent IPC they could license for a small part, then focus on the main cores.  I wouldn't be surprised if they eventually switch to riscv there too.<p>Also, these 8051 cores tend to be extremely diverse.  I don't think I've come across cores from different manufacturers that were actually compatible for real code.  They all seem to want to handle accessing 16/32 bit memory differently, have different interrupt details, etc.</p>
]]></description><pubDate>Sat, 15 Aug 2026 02:12:25 +0000</pubDate><link>https://news.ycombinator.com/item?id=49306954</link><dc:creator>monocasa</dc:creator><comments>https://news.ycombinator.com/item?id=49306954</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49306954</guid></item><item><title><![CDATA[New comment by monocasa in "RISC-V: They Should Have Known Better"]]></title><description><![CDATA[
<p>I mean, a shuttle run is pretty cheap these days.  If you have silicon, and customers, scaling past a shuttle run that worked is pretty low additional cost.</p>
]]></description><pubDate>Sat, 15 Aug 2026 01:43:36 +0000</pubDate><link>https://news.ycombinator.com/item?id=49306807</link><dc:creator>monocasa</dc:creator><comments>https://news.ycombinator.com/item?id=49306807</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49306807</guid></item><item><title><![CDATA[New comment by monocasa in "RISC-V: They Should Have Known Better"]]></title><description><![CDATA[
<p>Yeah, that's the point of the profiles.  A curated set of extensions for common use cases like application cores for generic software to target.</p>
]]></description><pubDate>Sat, 15 Aug 2026 01:41:34 +0000</pubDate><link>https://news.ycombinator.com/item?id=49306793</link><dc:creator>monocasa</dc:creator><comments>https://news.ycombinator.com/item?id=49306793</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49306793</guid></item><item><title><![CDATA[New comment by monocasa in "RISC-V: They Should Have Known Better"]]></title><description><![CDATA[
<p>Every time I've seen someone use an 8051 in the past twenty years, it's had new, bespoke software written for it.  They were more used because they were a known quantity with the patents obviously dead rather than support for existing codebases.</p>
]]></description><pubDate>Sat, 15 Aug 2026 01:40:22 +0000</pubDate><link>https://news.ycombinator.com/item?id=49306784</link><dc:creator>monocasa</dc:creator><comments>https://news.ycombinator.com/item?id=49306784</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49306784</guid></item></channel></rss>