X-Git-Url: https://git.ucc.asn.au/?p=ipdf%2Fcode.git;a=blobdiff_plain;f=src%2Fvfpu.cpp;h=18e1bdef2aa5dec72a9b7f691ff021fcf0235fd3;hp=8783ca1c9e78df652f6c14b0a06998873d779987;hb=f71f97f4fd251d02882ace4be3ead033ced434c4;hpb=b2d6929dfb8cd94c0447b350c9bafaa573a4a834 diff --git a/src/vfpu.cpp b/src/vfpu.cpp index 8783ca1..18e1bde 100644 --- a/src/vfpu.cpp +++ b/src/vfpu.cpp @@ -114,9 +114,10 @@ float Exec(float opa, float opb, Opcode op, Rmode rmode) Register Exec(const Register & a, const Register & b, Opcode op, Rmode rmode) { assert(g_running); - + Fatal("Unsupported"); stringstream s; - s << hex << setw(8) << setfill('0') << a.to_ullong() << "\n" << b.to_ullong() << "\n" << setw(1) << op <<"\n" << setw(1) << rmode << "\n"; + //TODO: Make it compile again + //s << hex << setw(8) << setfill('0') << a.to_ullong() << "\n" << b.to_ullong() << "\n" << setw(1) << op <<"\n" << setw(1) << rmode << "\n"; string str(s.str()); //Debug("Writing: %s", str.c_str()); @@ -138,7 +139,8 @@ Register Exec(const Register & a, const Register & b, Opcode op, Rmode rmode) } stringstream s2; - s2 << hex << result.to_ullong(); + //TODO: Make it comp[ile again + //s2 << hex << result.to_ullong(); //Debug("Result is: %s", s2.str().c_str()); return result; }