Mill Computing, Inc. › Forums › The Mill › Architecture › Belt saturation in short belts › Reply To: Belt saturation in short belts
Here’s an example of the kind of code you get for cascaded calls. Given source:
void foo1(); void foo2(); void foo3();
void bar(int i) {
if (i == 0) foo1(); else foo2(); foo3(); }
on Silver (with three branch units) the code is:
F("bar") %0;
eqlb(b0 %0, 0) %1,
calltr0(b0 %1, "foo1");
callfl0(b0 %1, "foo2"),
call0("foo3"),
retn();
-
This reply was modified 7 years, 6 months ago by
Ivan Godard.
-
This reply was modified 7 years, 6 months ago by
Ivan Godard.
-
This reply was modified 7 years, 6 months ago by
Ivan Godard.