ACR 15.x Content Aware Remove crashes on older CPUs
Hi.
I'm experiencing nasty bug with Content Aware Remove in ACR 15.x on older CPUs.
In Lightroom Classic ACR (builtin) crashes with "illegal instruction" exception (0xC000001D) due to use of SSE4.2 instruction which my CPU doesn't have.
If started from Bridge - ACR crashes with the "illegal instruction" exception (0xC000001D) at the same code, and then with the "stack overflow" exception (0xC00000FD) and Bridge dies.
As I can see ACR have different code paths for various CPU features present, at least code pathes for SSE2 and SSE4.2 are present.
Everything else apart from Content Aware Remove works just fine.
CPU is pretty capable with 6 cores at 4.0 GHz, it's just an AMD CPU and it have SSE3 and SSE4a at maximum, no SSE4.2
Is it possible to make requirement of SSE4.2 optional as it was all the way before release of ACR 15?
It's just a matter of one compiler switch after all...
I can provide technical details on where exactly ACR crashes if this will help.
This all happens under Windows 10 22H2 x64.
In ACR 15.1.1 it crashes at RVA=0x28AE0 on code:
| 000000004FAF8AE0 | 66:0F383105 6C558E07 | pmovzxbd xmm0,dword ptr ds:[0x573DE055] | |
| 000000004FAF8AE9 | 66:0FEFC9 | pxor xmm1,xmm1 | |
| 000000004FAF8AED | 66:0F76C8 | pcmpeqd xmm1,xmm0 | |
| 000000004FAF8AF1 | 44:0F50C1 | movmskps r8d,xmm1 |
