News for hackers. Stuff that matters.
Re:AVX Bitwise ternary logic instruction busted by kens on Sunday October 06, 2024 @03:30PM (#41759571)
I'll point out that this is the same way that FPGAs implement arbitrary logic functions, as lookup tables (LUTs).
Re:AVX Bitwise ternary logic instruction busted by kevin_thibedeau on Sunday October 06, 2024 @03:49PM (#41759713)
Most but not all. Actel/Microsemi use a small tree of muxes and gates.
Re:AVX Bitwise ternary logic instruction busted by tr352 on Sunday October 06, 2024 @03:32PM (#41759587)
So does the 74181 ALU.
Re:AVX Bitwise ternary logic instruction busted by monocasa on Sunday October 06, 2024 @06:25PM (#41760875)
I don't think the 74181 is implemented with a LUT.

http://www.righto.com/2017/01/die-photos-and-reverse-enginee...

Re:AVX Bitwise ternary logic instruction busted by okanat on Sunday October 06, 2024 @08:05PM (#41761487)
Basically CPUs, GPUs and FPGAs all converge to the crab equivalent of computation. They all expose the same capability with different areas of optimization.
Re:AVX Bitwise ternary logic instruction busted by dreamcompiler on Monday October 07, 2024 @05:35AM (#41764273)
All logic can be implemented with memory, and all memory can be implemented with logic (in some sort of feedback configuration).

Neither is typically done in practice except for specialized purposes like FPGAs and the instruction described in this article. High-speed registers and static RAM are sometimes built with logic but it's more common to build them directly with transistors than with gates.