News for hackers. Stuff that matters.
Re:A Suprising Discovery Inside the Steam Deck's APU by dataangel on Sunday January 14, 2024 @07:49PM (#38996080)
Apple recently demonstrated ARM is pretty capable of emulating x86
Re:A Suprising Discovery Inside the Steam Deck's APU by jsheard on Sunday January 14, 2024 @07:54PM (#38996109)
They did, but to get it running as well as they did they had to deviate from generic ARM by adding support for the x86 memory model in hardware. Apple was in a position to do that since they design their own ARM cores anyway, but the off-the-shelf ARM reference designs that most other players are relying on don't have that capability.
Re:A Suprising Discovery Inside the Steam Deck's APU by saagarjha on Sunday January 14, 2024 @08:25PM (#38996330)
You can do it with standard ARM instructions these days.
[dead]
Re:A Suprising Discovery Inside the Steam Deck's APU by erik on Monday January 15, 2024 @03:16AM (#38998500)
I vouched for this comment, but it looks like you're shadow banned. You might want to email support.
Re:A Suprising Discovery Inside the Steam Deck's APU by mhh__ on Monday January 15, 2024 @02:32AM (#38998284)
> these days

Which instructions?

Re:A Suprising Discovery Inside the Steam Deck's APU by saagarjha on Monday January 15, 2024 @03:19AM (#38998518)
Those that are part of FEAT_LRCPC.
Re:A Suprising Discovery Inside the Steam Deck's APU by lonjil on Monday January 15, 2024 @04:53AM (#38999009)
> They did, but to get it running as well as they did they had to deviate from generic ARM by adding support for the x86 memory model in hardware.

Note that this is actually very cheap in hardware. All ARM CPUs already support memory accesses that behave similarly to x86. It's just that they're special instructions meant for atomics. Most load and store instructions in Aarch64 don't have such variants, because it'd use a lot of instruction encoding space. The TSO bit in Apple's CPUs is really more of an encoding trick, to allow having a large number of "atomic" memory instructions without needing to actually add lots of new instructions.

Re:A Suprising Discovery Inside the Steam Deck's APU by Narishma on Sunday January 14, 2024 @11:16PM (#38997400)
They haven't demonstrated it at console-level prices.
Re:A Suprising Discovery Inside the Steam Deck's APU by klausa on Monday January 15, 2024 @03:57AM (#38998717)
If you wanna play semantics, and argue that the demonstration requires a M-Something chip, then they have in a $599 iPad Air with M1. Or I guess a Mac Mini with M2 for the same price.

If you want to be more lenient, the $129 Apple TV has A15 which is ~same design, but with less cores.