-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Open
Labels
O-ArmTarget: 32-bit Arm processors (armv6, armv7, thumb...), including 64-bit Arm in AArch32 stateTarget: 32-bit Arm processors (armv6, armv7, thumb...), including 64-bit Arm in AArch32 stateT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Description
So recently stdsimd added an intrinsic that was too liberal. The intrinsic needs to only be allowed in in specific circumstances, like so:
#[cfg(any(not(target_feature = "thumb-state"), target_feature = "v6t2"))]
Unfortunately we don't currently have a "thumb-mode" feature.
@gnzlbg said that before a PR for this change we should first have an issue with a ping to @parched, @Amanieu, and @japaric , so that everyone can be on the same page about how to proceed.
EDIT: Within official ARM docs, using ARM or Thumb code is called the "state", not "mode", so we should stick with that naming system. The CPU's "mode" is reserved for a different concept.
sweetpalma and CJKay
Metadata
Metadata
Assignees
Labels
O-ArmTarget: 32-bit Arm processors (armv6, armv7, thumb...), including 64-bit Arm in AArch32 stateTarget: 32-bit Arm processors (armv6, armv7, thumb...), including 64-bit Arm in AArch32 stateT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.