File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -305,14 +305,14 @@ macro simd_int_flt_binop {
305
305
306
306
macro simd_flt_binop ( $fx: expr, $intrinsic: expr, $op: ident( $x: ident, $y: ident) -> $ret: ident) {
307
307
let ( lane_layout, lane_count) = lane_type_and_count ( $fx. tcx , $x. layout ( ) ) ;
308
- let x_val = $x. load_vector ( $fx) ;
309
- let y_val = $y. load_vector ( $fx) ;
308
+ let x_val = $x. load_vector ( $fx) ;
309
+ let y_val = $y. load_vector ( $fx) ;
310
310
311
- let res = match lane_layout. ty . kind {
312
- ty:: Float ( _) => $fx. bcx . ins ( ) . $op( x_val, y_val) ,
313
- _ => unreachable ! ( "{:?}" , lane_layout. ty) ,
314
- } ;
315
- $ret. write_cvalue ( $fx, CValue :: by_val ( res, $ret. layout ( ) ) ) ;
311
+ let res = match lane_layout. ty . kind {
312
+ ty:: Float ( _) => $fx. bcx . ins ( ) . $op( x_val, y_val) ,
313
+ _ => unreachable ! ( "{:?}" , lane_layout. ty) ,
314
+ } ;
315
+ $ret. write_cvalue ( $fx, CValue :: by_val ( res, $ret. layout ( ) ) ) ;
316
316
}
317
317
318
318
pub fn codegen_intrinsic_call < ' tcx > (
You can’t perform that action at this time.
0 commit comments