35 lines
1.2 KiB
Text
35 lines
1.2 KiB
Text
[Compiler.result] size: 32
|
|
def mulDivShift a b c d e : Nat :=
|
|
let _x.1 := 5;
|
|
let a1 := Nat.shiftRight a _x.1;
|
|
let a2 := Nat.shiftLeft a _x.1;
|
|
let _x.2 := UInt8.ofNat _x.1;
|
|
let b1 := UInt8.shiftRight b _x.2;
|
|
let b2 := UInt8.shiftLeft b _x.2;
|
|
let _x.3 := UInt16.ofNat _x.1;
|
|
let c1 := UInt16.shiftRight c _x.3;
|
|
let c2 := UInt16.shiftLeft c _x.3;
|
|
let _x.4 := UInt32.ofNat _x.1;
|
|
let d1 := UInt32.shiftRight d _x.4;
|
|
let d2 := UInt32.shiftLeft d _x.4;
|
|
let _x.5 := UInt64.ofNat _x.1;
|
|
let e1 := UInt64.shiftRight e _x.5;
|
|
let e2 := UInt64.shiftLeft e _x.5;
|
|
let _x.6 := Nat.add a1 a2;
|
|
let _x.7 := UInt8.val b1;
|
|
let _x.8 := Nat.add _x.6 _x.7;
|
|
let _x.9 := UInt8.val b2;
|
|
let _x.10 := Nat.add _x.8 _x.9;
|
|
let _x.11 := UInt16.val c1;
|
|
let _x.12 := Nat.add _x.10 _x.11;
|
|
let _x.13 := UInt16.val c2;
|
|
let _x.14 := Nat.add _x.12 _x.13;
|
|
let _x.15 := UInt32.val d1;
|
|
let _x.16 := Nat.add _x.14 _x.15;
|
|
let _x.17 := UInt32.val d2;
|
|
let _x.18 := Nat.add _x.16 _x.17;
|
|
let _x.19 := UInt64.val e1;
|
|
let _x.20 := Nat.add _x.18 _x.19;
|
|
let _x.21 := UInt64.val e2;
|
|
let _x.22 := Nat.add _x.20 _x.21;
|
|
return _x.22
|