@@ -47,8 +47,7 @@ extern "unadjusted" {
47
47
///
48
48
/// This function is safe to use if the `zbb` target feature is present.
49
49
#[ target_feature( enable = "zbb" ) ]
50
- // See #1464
51
- // #[cfg_attr(test, assert_instr(orc.b))]
50
+ #[ cfg_attr( test, assert_instr( orc. b) ) ]
52
51
#[ inline]
53
52
pub unsafe fn orc_b ( rs : usize ) -> usize {
54
53
#[ cfg( target_arch = "riscv32" ) ]
@@ -76,8 +75,7 @@ pub unsafe fn orc_b(rs: usize) -> usize {
76
75
///
77
76
/// This function is safe to use if the `zbc` target feature is present.
78
77
#[ target_feature( enable = "zbc" ) ]
79
- // See #1464
80
- // #[cfg_attr(test, assert_instr(clmul))]
78
+ #[ cfg_attr( test, assert_instr( clmul) ) ]
81
79
#[ inline]
82
80
pub unsafe fn clmul ( rs1 : usize , rs2 : usize ) -> usize {
83
81
#[ cfg( target_arch = "riscv32" ) ]
@@ -105,8 +103,7 @@ pub unsafe fn clmul(rs1: usize, rs2: usize) -> usize {
105
103
///
106
104
/// This function is safe to use if the `zbc` target feature is present.
107
105
#[ target_feature( enable = "zbc" ) ]
108
- // See #1464
109
- // #[cfg_attr(test, assert_instr(clmulh))]
106
+ #[ cfg_attr( test, assert_instr( clmulh) ) ]
110
107
#[ inline]
111
108
pub unsafe fn clmulh ( rs1 : usize , rs2 : usize ) -> usize {
112
109
#[ cfg( target_arch = "riscv32" ) ]
@@ -134,8 +131,7 @@ pub unsafe fn clmulh(rs1: usize, rs2: usize) -> usize {
134
131
///
135
132
/// This function is safe to use if the `zbc` target feature is present.
136
133
#[ target_feature( enable = "zbc" ) ]
137
- // See #1464
138
- // #[cfg_attr(test, assert_instr(clmulr))]
134
+ #[ cfg_attr( test, assert_instr( clmulr) ) ]
139
135
#[ inline]
140
136
pub unsafe fn clmulr ( rs1 : usize , rs2 : usize ) -> usize {
141
137
#[ cfg( target_arch = "riscv32" ) ]
0 commit comments