Page MenuHomePhabricator

Delete (most) of the MMX builtin functions from Clang.
Needs ReviewPublic

Authored by jyknight on Jan 7 2021, 11:40 AM.

Details

Summary

After switching the headers to implement the intrinsics using SSE2
(see https://reviews.llvm.org/D86855), these builtins are now unused.

Only 3 remain -- builtin_ia32_emms, still used by _mm_empty(), and
builtin_ia32_vec_{ext,set}_v4si, used by _mm_insert_pi16 and
_mm_extract_pi16, which lower to generic non-MMX IR.

Also update the clang/www/builtins.py with mappings for the
newly-removed builtins to their corresponding intrinsic functions.

Diff Detail

Event Timeline

jyknight requested review of this revision.Jan 7 2021, 11:40 AM
jyknight created this revision.
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJan 7 2021, 11:40 AM