Whole-known-network
<p>also if you power the board on with the debugger connected via SWD, for goddess knows what reasons it usually just doesn't boot</p>
<p><span class="h-card" translate="no"><a href="https://mastodon.social/@whitequark" class="u-url mention">@<span>whitequark</span></a></span> I asked nxp for a datasheet for one of their imx parts a while ago using my university address, and they told me to fuck off because they considered that datasheet too secret for a pleb like me. I wasn't very impressed by that stance.</p>
<p>also my only devboard with it emits a loud high-pitched coil whine the entire time it's turned on. if it blinks a LED the pitch changes slightly. if it processes a command via SWD it also changes</p>
<p>designed by NXP (Freescale (Motorola))</p>
<p>can i please have a normal device _just once_</p>
<p>today in normal microcontrollers (imxrt1052):<br />- no internal flash, requires an external (Q)SPI chip. both NOR and NAND are supported<br />- if you put a SOIC clip onto the chip it stops booting<br />- if you erase the flash it stops being accessible to a debugger<br />- if you assert SYSRESETREQ it stops talking to the debugger for long enough that everything times out. presumably it is looking in the flash for whether debugging is allowed or whatever</p><p>why is it like this ;w;</p>
<p><span class="h-card" translate="no"><a href="https://mastodon.online/@resistor" class="u-url mention">@<span>resistor</span></a></span> <span class="h-card" translate="no"><a href="https://mastodon.social/@barrelshifter" class="u-url mention">@<span>barrelshifter</span></a></span> Either way, I like the way the funnel shift solution worked out. (And will always be grateful for Sanjay doing the legwork!)</p><p>They're a good normal form, funnel shift<->rotate (where applicable) is canonical and trivial in both directions, they can be formed early (which avoids destroying the pattern), they're reasonably common in target ISAs on their own right, and are still pretty straightforward to lower where they're not available</p>
<p><span class="h-card" translate="no"><a href="https://mastodon.gamedev.place/@rygorous" class="u-url mention">@<span>rygorous</span></a></span> <span class="h-card" translate="no"><a href="https://mastodon.social/@barrelshifter" class="u-url mention">@<span>barrelshifter</span></a></span> I think SimplifyDemandedBits was an area where GCC didn’t do much optimization at the time, so leaning heavily into it made LLVM look more compelling in microbenchmarks.</p>
<p><span class="h-card" translate="no"><a href="https://mastodon.online/@resistor" class="u-url mention">@<span>resistor</span></a></span> <span class="h-card" translate="no"><a href="https://mastodon.social/@barrelshifter" class="u-url mention">@<span>barrelshifter</span></a></span> The ADD->OR thing is another frequent monkey wrench especially wrt matching things that could be addressing modes, yeah.</p><p>It's not a worthless transformation for larger-than-native-register integers (where not having cross-limb carries is a solid win) but for <=pointer size, I'd argue it hurts more than it helps.</p>