We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aabfade commit e49bb98Copy full SHA for e49bb98
coresimd/src/x86/x86_64/aes.rs
@@ -67,7 +67,10 @@ pub unsafe fn _mm_aesimc_si128(a: __m128i) -> __m128i {
67
#[target_feature(enable = "aes")]
68
#[cfg_attr(test, assert_instr(aeskeygenassist))]
69
pub unsafe fn _mm_aeskeygenassist_si128(a: __m128i, imm8: u8) -> __m128i {
70
- aeskeygenassist(a, imm8)
+ macro_rules! call {
71
+ ($imm8:expr) => (aeskeygenassist(a, $imm8))
72
+ }
73
+ constify_imm8!(imm8, call)
74
}
75
76
#[cfg(test)]
0 commit comments