Skip to content

Conversation

@tannergooding
Copy link
Member

This resolves #106079

This bug was introduced in the first Arm64 support was added back in .NET 5: #35030

@ghost ghost added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Aug 26, 2024
assert(intrin.op2->isContainedIntOrIImmed());
assert(intrin.op2->AsIntCon()->gtIconVal == 0);
// fmov (scalar) zeros the upper bits and is not safe to use
assert(!intrin.op3->isContainedFltOrDblImmed());
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GitHub is displaying the diff a bit weirdly. This is just removing the if and fixing the indentation of the else block now that its the only code path.

@tannergooding
Copy link
Member Author

CC. @dotnet/jit-contrib for review, this resolves #106079 and needs backport to .NET 9. It should also be considered for backport to .NET 8

@tannergooding tannergooding merged commit b54c8de into dotnet:main Aug 28, 2024
@tannergooding tannergooding deleted the fix-106079 branch August 28, 2024 15:08
@tannergooding
Copy link
Member Author

/backport to release/9.0

@github-actions
Copy link
Contributor

Started backporting to release/9.0: https://github.com/dotnet/runtime/actions/runs/10599434161

@tannergooding
Copy link
Member Author

/backport to release/8.0-staging

@github-actions
Copy link
Contributor

Started backporting to release/8.0-staging: https://github.com/dotnet/runtime/actions/runs/10599481780

jtschuster pushed a commit to jtschuster/runtime that referenced this pull request Sep 17, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Sep 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

JIT: Bad codegen with AdvSimd.Insert

2 participants