I bought my i5-12500 (that has no Gracemont cores) just when it came out. Linux reported all kinds of AVX-512 extensions and I could transcode video with Handbrake using AVX-512 without any problems.
Later on Intel pushed a microcode update, and now my CPU doesn't have AVX-512 enabled anymore.