log☇︎
139500+ entries in 0.04s
asciilifeform: no sram in there.
asciilifeform: nope, not them
asciilifeform suspects that 99% of it is used with fpga
asciilifeform: still, interestingly, available...
asciilifeform: (really from the market for standalone sram chips drying up, i suspect)
asciilifeform: i was quite astonished to learn that sram costs only a couple times less today than in early '90s
asciilifeform: mircea_popescu: 10 is typical
asciilifeform: only eats half the address space, lel.
asciilifeform: a 32kb times table!
asciilifeform: and now for the fastest 8bx8b mul of all:
asciilifeform: lel
asciilifeform: that sit there happily drawing a femtoamp each
asciilifeform: sram is where you have the actual bistable circuits
asciilifeform: the gnarly pile of shit that we use today
asciilifeform: mircea_popescu is prolly thinking of dram
asciilifeform: a set of flippy switches can control sram
asciilifeform: but no, sram has no meaningful (at 6502 speed) latency
asciilifeform: this is included in the cycle count
asciilifeform: cycles == time
asciilifeform: remove the rts and inline the procedure to shave cost of the return (which is titanic)
asciilifeform: e.g., http://wotpaste.cascadianhacker.com/pastes/4da28cef-336b-4f39-bf0f-5614aa90d653/
asciilifeform: lookup is 4 cycle.
asciilifeform: each shift was 2cyc instruction (assuming payload is in A reg, otherwise worse)
asciilifeform: 6502 had no barrrel shifter
asciilifeform: 4 x 2 cycle
asciilifeform: nope
asciilifeform: can make a table.
asciilifeform: you don't have to <<4 anything either
asciilifeform: incidentally
asciilifeform bangs head on desk
asciilifeform: half of that.
asciilifeform: ah yes!
asciilifeform: aha!!
asciilifeform: 6502 : ~3.5k transistorz.
asciilifeform: at one point it was blokes rolling black electrical tape onto giant celluloid. hence expression 'tapeout', still used today
asciilifeform: celluloid iirc.
asciilifeform: like most people then.
asciilifeform: as in '70s
asciilifeform: same guy even, making it.
asciilifeform: i was astonished as well, last year, to learn that it never died
asciilifeform: mine also!
asciilifeform: i have a couple here.
asciilifeform: (yes it is in production. pacemakers.)
asciilifeform: today's will happily do 20
asciilifeform: the period ver went to 2Mhz
asciilifeform: like mircea_popescu's z80
asciilifeform: which had sram hanging off, so who cared
asciilifeform: aha
asciilifeform: no cache.
asciilifeform: http://www.visual6502.org/JSSim/index.html << him.
asciilifeform: it's a 6502
asciilifeform: what l1
asciilifeform: mircea_popescu has been smoking some strange or wut
asciilifeform: 256 byte.
asciilifeform: 4x4 bit.
asciilifeform: it's a table lookup !
asciilifeform: because 6502 aint got no mul.
asciilifeform: we do NO MULTS
asciilifeform: mno
asciilifeform: 'Two months later, on October 1st, as an adjunct to Lyndon Johnson's War on Poverty, Robert Strange McNamara started inducting into the military men who previously would not have qualified in a million years. He called it Project 100,000 ...' ☟︎
asciilifeform: lel re us mil: http://everything2.com/title/Project+100%252C000
asciilifeform: http://everything2.com/title/The+Arms+Race+between+Moths+and+Bats << also interesting, in re parallels with modern aerial combat..
asciilifeform: any other 8bit sinners here can tell me wtf i'm missing? mircea_popescu ? gernika ?
asciilifeform: anyway i'm lazy, ... but it still looks faster than the cited 151 cycle worst-case on e2
asciilifeform: (6502 didn't have a barrel shifter, so a shift is a 2-cycle op per bit, assuming num is in accumulator.)
asciilifeform: ^ yes this is how to pronounce left-shift per asciilifeform
asciilifeform: we can do the high nibble of the low byte as one add-with-carry followed by a collective shlykk
asciilifeform: 4 of'em
asciilifeform: so we have mult table lookups (we made a 16x16, or 256bt mult table for nibblez)
asciilifeform: we never do the last term's shling because we know that it is 2nd byte of result.
asciilifeform: ... = p1q1 + (p2q1 << 4) + (p1q2 << 4) + (p2q2 << 8)
asciilifeform: p * q = p1q1 + 16p2q1 + 16p1q2 + 256p2q2
asciilifeform: mircea_popescu: soooo... let's split bytes p, q into nibbles, p0, p1; q0, q1; p = p1 + 16p2, q = q1 + 16q2
asciilifeform: then got distracted.
asciilifeform: i was sitting for last 20min working out whether this is actually faster than treating the nibbles as digits and table-ating the resulting 'bignum mult' or not
asciilifeform: in other not at all nyooz, http://everything2.com/title/Fast+6502+multiplication << witness the non-pedi-wikia.
asciilifeform: l0l!!
asciilifeform: sounds extremely turkish
asciilifeform: wats this
asciilifeform: if only sp folk properly appreciated 'pizdi'
asciilifeform: half the point of walled aols is to corral the chumpers into custom search crapolade
asciilifeform: mircea_popescu: not by default iirc.
asciilifeform: libya-->labia and then civil war splits into minora and majora...
asciilifeform falls down
asciilifeform: beoblethemselves.
asciilifeform: they are when they are.
asciilifeform: england will certainly remain in the caliphate.
asciilifeform: at least where it counts.
asciilifeform: mircea_popescu: no such thing - reich wears belt and suspenders before putting on idiot show. they're locked into overlapping treaties to ~same effect as eu membership.
asciilifeform: since '45 at least.
asciilifeform: in the red white an' blue shitter.
asciilifeform: which is guess in what.
asciilifeform: and nowhere else.
asciilifeform: 50/49 exist in usgland where bushes and gores pointlessly antler one another in ritual combat.
asciilifeform: they've had eons.
asciilifeform: i expect that obviously phuctorable keyz will vanish from sks in not too long, likewise.
asciilifeform: mircea_popescu: enemy can gcd as well as anybody
asciilifeform: ^ advantage of having no account there
asciilifeform: (for anyone not tuned in, 'white hat attacker' was the me-too draining of the remaining dao by buterin et al)
asciilifeform: sorta implied original stunt's protagonist.