News for hackers. Stuff that matters.
Re:Rise of ARM: First Windows 10 PC Running Snapdragon 835 C... by Skunkleton on Tuesday June 27, 2017 @03:16PM (#14648385)
Has anyone seen a detailed writeup on how they are performing the x86->ARM64 recompilation? I would imagine it works something like a software hypervisor once the individual instructions are translated?
Re:Rise of ARM: First Windows 10 PC Running Snapdragon 835 C... by gaius on Tuesday June 27, 2017 @03:27PM (#14648509)
I'll wager that there is still some of the old FX!32 technology in there, that was used back in the day to translate between x86 and AXP.

Remember NT was always designed to be cross platform - it shipped on x86, PPC, MIPS and Alpha originally. I ran SQL Server on Alpha for a while. Good times.

Re:Rise of ARM: First Windows 10 PC Running Snapdragon 835 C... by my123 on Tuesday June 27, 2017 @04:36PM (#14649164)
It's based on Virtual PC for Mac, MS's x86 to PPC JIT back in the times.
Re:Rise of ARM: First Windows 10 PC Running Snapdragon 835 C... by rbanffy on Tuesday June 27, 2017 @03:40PM (#14648653)
Does DEC's corpse still own it? I remember they were the ones who developed the thing. Quite remarkable.
Re:Rise of ARM: First Windows 10 PC Running Snapdragon 835 C... by smitherfield on Tuesday June 27, 2017 @04:34PM (#14649144)
No, Compaq bought Digital, then, when HP bought Compaq, they killed Alpha in favor of the instruction set of the future, Itanium, and, adding insult to injury, sold the Alpha IP to Intel to ensure it’d never see the light of day again.

The Sunway line of processors developed by the Chinese military are rumored to use a modernized version of the Alpha instruction set (unauthorized obviously): https://en.wikipedia.org/wiki/Sunway

Re:Rise of ARM: First Windows 10 PC Running Snapdragon 835 C... by rbanffy on Tuesday June 27, 2017 @05:21PM (#14649565)
Still, they may own FX!32 and its patents. This may prove profitable.

It those went to Intel... Well... It'll be fun to watch the fireworks.

Re:Rise of ARM: First Windows 10 PC Running Snapdragon 835 C... by smitherfield on Tuesday June 27, 2017 @05:26PM (#14649614)
Ah, I think I misunderstood you (thought you were referring to Alpha, not FX!32).
Re:Rise of ARM: First Windows 10 PC Running Snapdragon 835 C... by TazeTSchnitzel on Tuesday June 27, 2017 @03:52PM (#14648763)
It's WOW64, like Itanium and AMD64. The former also used an emulator, whereas the latter is hardware of course.
Re:Rise of ARM: First Windows 10 PC Running Snapdragon 835 C... by my123 on Tuesday June 27, 2017 @04:40PM (#14649200)
Actually, ARM64 Windows uses double-WoW64. Two WoW64s are running at the same time - one running ARM32 code - and another x86_32.
Re:Rise of ARM: First Windows 10 PC Running Snapdragon 835 C... by TazeTSchnitzel on Tuesday June 27, 2017 @06:10PM (#14650005)
Yep! I was aware of that but didn't mention it.

I wonder if WoW64 had to be modified to support having two architectures.

Though they maybe planned ahead: it's "Program Files (x86)", not "Program Files (32-bit)" :)

Re:Rise of ARM: First Windows 10 PC Running Snapdragon 835 C... by my123 on Wednesday June 28, 2017 @04:18AM (#14652509)
Program Files (x86) and SysWoW64 + Program Files (ARM) and SysArm32
Re:Rise of ARM: First Windows 10 PC Running Snapdragon 835 C... by my123 on Tuesday June 27, 2017 @04:39PM (#14649192)
The instruction set support is quite recent tho :) No AVX there.

MMX/SSE/SSE2/SSE3/SSSE3/SSE4.1/SSE4.2/POPCNT/AESNI/CTMUL

Re:Rise of ARM: First Windows 10 PC Running Snapdragon 835 C... by throwasehasdwi on Tuesday June 27, 2017 @03:30PM (#14648529)
In this case I would say the lack of details is a good thing. It must work so well that they can keep it a secret from major vendors. If it wasn't near native speed or had bad x86/x64 ISA support they would be giving a heads up to the bigger software shops.
Re:Rise of ARM: First Windows 10 PC Running Snapdragon 835 C... by rbanffy on Tuesday June 27, 2017 @03:43PM (#14648694)
From the 68K to PPC migration at Apple, I remember software spent much more time running system code than application code (listening for events, redrawing stuff, and so on). It's true PPC was much faster than 68K and that made the move easier, but, still, just not having to emulate anything beyond the system library calls is great.
Re:Rise of ARM: First Windows 10 PC Running Snapdragon 835 C... by belovedeagle on Tuesday June 27, 2017 @03:44PM (#14648702)
It has no x64 support...
Re:Rise of ARM: First Windows 10 PC Running Snapdragon 835 C... by my123 on Tuesday June 27, 2017 @04:37PM (#14649174)
It hasn't because it's based on a Microsoft product which already existed - Virtual PC for PowerPC Macs.
Re:Rise of ARM: First Windows 10 PC Running Snapdragon 835 C... by josteink on Tuesday June 27, 2017 @04:00PM (#14648838)
> Has anyone seen a detailed writeup on how they are performing the x86->ARM64 recompilation

It was somewhat outlined in this channel 9 video: https://channel9.msdn.com/Events/Build/2017/P4171