luaur_code_gen/methods/
assembly_builder_x_64_vroundss.rs1use crate::enums::rounding_mode_x_64::RoundingModeX64;
2use crate::records::assembly_builder_x_64::AssemblyBuilderX64;
3use crate::records::operand_x_64::OperandX64;
4
5impl AssemblyBuilderX64 {
6 pub fn vroundss(
7 &mut self,
8 dst: OperandX64,
9 src1: OperandX64,
10 src2: OperandX64,
11 rounding_mode: RoundingModeX64,
12 ) {
13 self.place_avx_c_char_operand_x_64_operand_x_64_operand_x_64_u8_bool_u8_u8(
14 b"vroundss\0".as_ptr() as *const core::ffi::c_char,
15 dst,
16 src1,
17 src2,
18 (rounding_mode as u8 | 0x04) as u8,
19 false,
20 0x0a,
21 0x66,
22 );
23 }
24}