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 @@ -119,8 +119,10 @@ impl LlvmType for Reg {
119
119
match self . kind {
120
120
RegKind :: Integer => cx. type_ix ( self . size . bits ( ) ) ,
121
121
RegKind :: Float => match self . size . bits ( ) {
122
+ 16 => cx. type_f16 ( ) ,
122
123
32 => cx. type_f32 ( ) ,
123
124
64 => cx. type_f64 ( ) ,
125
+ 128 => cx. type_f128 ( ) ,
124
126
_ => bug ! ( "unsupported float: {:?}" , self ) ,
125
127
} ,
126
128
RegKind :: Vector => cx. type_vector ( cx. type_i8 ( ) , self . size . bytes ( ) ) ,
Original file line number Diff line number Diff line change @@ -238,8 +238,10 @@ impl Reg {
238
238
_ => panic ! ( "unsupported integer: {self:?}" ) ,
239
239
} ,
240
240
RegKind :: Float => match self . size . bits ( ) {
241
+ 16 => dl. f16_align . abi ,
241
242
32 => dl. f32_align . abi ,
242
243
64 => dl. f64_align . abi ,
244
+ 128 => dl. f128_align . abi ,
243
245
_ => panic ! ( "unsupported float: {self:?}" ) ,
244
246
} ,
245
247
RegKind :: Vector => dl. vector_align ( self . size ) . abi ,
You can’t perform that action at this time.
0 commit comments