Skip to content

Commit 628b197

Browse files
committed
WIP: Add fjcvtzs instruction to core::arch::aarch64
This instruction should only be used when the jsconv feature is checked.
1 parent bd34871 commit 628b197

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

library/stdarch/crates/stdarch-gen-arm/spec/neon/aarch64.spec.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14267,3 +14267,20 @@ intrinsics:
1426714267
- 'vluti4q_laneq_{neon_type[5]}_x2::<LANE>'
1426814268
- - FnCall: [transmute, [a]]
1426914269
- b
14270+
14271+
- name: "fjcvtzs"
14272+
doc: "Floating-point JavaScript convert to signed fixed-point, rounding toward zero"
14273+
arguments: ["a: {type}"]
14274+
return_type: "i32"
14275+
attr:
14276+
- FnCall: [target_feature, ['enable = "jsconv"']]
14277+
- FnCall: [cfg_attr, [test, {FnCall: [assert_instr, [fjcvtzs]]}]]
14278+
safety: safe
14279+
types:
14280+
- f64
14281+
compose:
14282+
- LLVMLink:
14283+
name: "fjcvtzs"
14284+
links:
14285+
- link: "llvm.aarch64.fjcvtzs"
14286+
arch: aarch64,arm64ec

0 commit comments

Comments
 (0)