Skip to content

Commit ce98d8a

Browse files
committed
core_arch: disable assert_instr for pfalse
The implementation for this has the same behaviour as a `pfalse` but doesn't currently emit one until an intrinsic is added to emit a `zeroinitializer` for this.
1 parent a8918ff commit ce98d8a

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

crates/core_arch/src/aarch64/sve/generated.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30819,7 +30819,6 @@ pub fn svorv_u64(pg: svbool_t, op: svuint64_t) -> u64 {
3081930819
#[inline(always)]
3082030820
#[target_feature(enable = "sve")]
3082130821
#[unstable(feature = "stdarch_aarch64_sve", issue = "145052")]
30822-
#[cfg_attr(test, assert_instr(pfalse))]
3082330822
pub fn svpfalse_b() -> svbool_t {
3082430823
svdupq_n_b8(
3082530824
false, false, false, false, false, false, false, false, false, false, false, false, false,

crates/stdarch-gen-arm/spec/sve/aarch64.spec.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3611,7 +3611,9 @@ intrinsics:
36113611
doc: Set all predicate elements to false
36123612
arguments: []
36133613
return_type: "svbool_t"
3614-
assert_instr: [pfalse]
3614+
# TODO: With current implementation, `pfalse` isn't generated, will need to add intrinsic to
3615+
# generate `zeroinitializer`
3616+
# assert_instr: [pfalse]
36153617
compose:
36163618
- FnCall:
36173619
- "svdupq_n_b8"

0 commit comments

Comments
 (0)