HNHacker News
TopNewBestAskShowJobs

foodevl

123 karma · joined June 29, 2014

submissionscomments
foodevl··on The DisplayPort Pin 20 Problem
It's actually far easier than you're making it out to be, because you seem to be assuming an ideal voltage source. Most linear regulators can only source current, not sink it. So it is perfectly fine to simply put a LDO at both ends and tie them together. The bus voltage will be the higher of the two. No extra diodes needed, certainly no active monitoring, and no extra current will follow even if the regulators are putting out slightly different voltages. Maybe add a small series resistance to limit initial inrush current as capacitors balance, but that's it.
foodevl··on Compiler Writers Gone Wild: ARC Madness
The 250% more instructions are the frame pointer, which is how your debugger figures out the stack trace when you happen to break execution at the "xor eax, eax". Use -fomit-frame-pointer to get rid of that. That has nothing to do with optimization.
← PreviousPage 2 of 2