File tree 2 files changed +4
-0
lines changed
rustc_target/src/abi/call
2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -121,8 +121,10 @@ impl LlvmType for Reg {
121
121
match self . kind {
122
122
RegKind :: Integer => cx. type_ix ( self . size . bits ( ) ) ,
123
123
RegKind :: Float => match self . size . bits ( ) {
124
+ 16 => cx. type_f16 ( ) ,
124
125
32 => cx. type_f32 ( ) ,
125
126
64 => cx. type_f64 ( ) ,
127
+ 128 => cx. type_f128 ( ) ,
126
128
_ => bug ! ( "unsupported float: {:?}" , self ) ,
127
129
} ,
128
130
RegKind :: Vector => cx. type_vector ( cx. type_i8 ( ) , self . size . bytes ( ) ) ,
Original file line number Diff line number Diff line change @@ -236,8 +236,10 @@ impl Reg {
236
236
_ => panic ! ( "unsupported integer: {self:?}" ) ,
237
237
} ,
238
238
RegKind :: Float => match self . size . bits ( ) {
239
+ 16 => dl. f16_align . abi ,
239
240
32 => dl. f32_align . abi ,
240
241
64 => dl. f64_align . abi ,
242
+ 128 => dl. f128_align . abi ,
241
243
_ => panic ! ( "unsupported float: {self:?}" ) ,
242
244
} ,
243
245
RegKind :: Vector => dl. vector_align ( self . size ) . abi ,
You can’t perform that action at this time.
0 commit comments