glasm: Add conversion instructions to GLASM
This commit is contained in:
parent
7703d65f23
commit
ad61b47f80
9 changed files with 351 additions and 282 deletions
|
@ -39,6 +39,10 @@ Value RegAlloc::Consume(const IR::Value& value) {
|
|||
ret.type = Type::F32;
|
||||
ret.imm_f32 = value.F32();
|
||||
break;
|
||||
case IR::Type::U64:
|
||||
ret.type = Type::U64;
|
||||
ret.imm_u64 = value.U64();
|
||||
break;
|
||||
case IR::Type::F64:
|
||||
ret.type = Type::F64;
|
||||
ret.imm_f64 = value.F64();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue