Stuart Henderson <s...@spacehopper.org> writes:

> On 2024/04/22 10:30, Greg Steuck wrote:
>> > If it would help, I could update my old AMD machine to -current
>> > and check ghc works with the two patches removed, once I've finished
>> > trying out the patch I just sent for 7.5.
>> 
>> Thanks James for working through this. Yes, we need the new development
>> to happen on -current ports with -current base system. We'd also want a
>> more complicated patch than the one you just sent because base supports
>> avx-512 now.
>
> We probably don't need any patches for this in -current now that avx-512
> opcodes are supported by the OS.

James, if you'd like to play with this on -current, please remove both
patch-libraries_text_simdutf_simdutf_h and
patch-libraries_text_cbits_measure_off_c

This should make the offending check disappear and the pre-existing
checks should correctly report the OS doesn't support these instructions
on your machine. We can then confirm that avx-512 is working for people
who previously had problems.

Thanks
Greg

Reply via email to