Skip to content

[Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - allow SSE41 phminposuw intrinsic to be used in constexp #161336

@RKSimon

Description

@RKSimon

_mm_minpos_epu16

index[2:0] := 0 min[15:0] := a[15:0] FOR j := 0 to 7	i := j*16	IF a[i+15:i] < min[15:0]	index[2:0] := j	min[15:0] := a[i+15:i]	FI ENDFOR dst[15:0] := min[15:0] dst[18:16] := index[2:0] dst[127:19] := 0 

Metadata

Metadata

Assignees

Labels

backend:X86clang:bytecodeIssues for the clang bytecode constexpr interpreterclang:headersHeaders provided by Clang, e.g. for intrinsicsconstexprAnything related to constant evaluationgood first issuehttps://github.com/llvm/llvm-project/contribute

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions