Add doc comment to pack_generic
This commit is contained in:
parent
45d93945ad
commit
ee47a8e6b6
1 changed files with 7 additions and 0 deletions
|
|
@ -1127,6 +1127,13 @@ fn pmulhrsw<'tcx>(
|
|||
Ok(())
|
||||
}
|
||||
|
||||
/// Packs two N-bit integer vectors to a single N/2-bit integers.
|
||||
///
|
||||
/// The conversion from N-bit to N/2-bit should be provided by `f`.
|
||||
///
|
||||
/// Each 128-bit chunk is treated independently (i.e., the value for
|
||||
/// the is i-th 128-bit chunk of `dest` is calculated with the i-th
|
||||
/// 128-bit chunks of `left` and `right`).
|
||||
fn pack_generic<'tcx>(
|
||||
this: &mut crate::MiriInterpCx<'_, 'tcx>,
|
||||
left: &OpTy<'tcx, Provenance>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue