X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fx87_s.expect.c;fp=tests%2Fx87_s.expect.c;h=b2a6d89bc76494d5d01a98e237014008cd0134c8;hb=11437ea1ca9b117227bb3f417796582be70116e7;hp=3a644b91fbe3b87c0e13992ebc78790a50a62357;hpb=79af284cd6d5f9851b971b7b46cbbb24df88a3f3;p=ia32rtools.git diff --git a/tests/x87_s.expect.c b/tests/x87_s.expect.c index 3a644b9..b2a6d89 100644 --- a/tests/x87_s.expect.c +++ b/tests/x87_s.expect.c @@ -6,7 +6,7 @@ double sub_test() sf.d[0] = 4; // var_4 f_st[--f_stp & 7] = (float)(s32)sf.d[0]; // var_4 fild - f_st[--f_stp & 7] = *((float *)(u32)&sf.d[0]); // var_4 fld + f_st[--f_stp & 7] = *(float *)((u32)&sf.d[0]); // var_4 fld f_st[--f_stp & 7] = (float)(s32)sf.d[0]; // var_4 fild f_st[--f_stp & 7] = 1.0; f_st[--f_stp & 7] = (float)(s32)sf.d[0]; // var_4 fild @@ -22,7 +22,7 @@ double sub_test() f_st[f_stp & 7] = -f_st[f_stp & 7]; f_st[(f_stp + 1) & 7] = atanf(f_st[(f_stp + 1) & 7] / f_st[f_stp & 7]); f_stp++; sf.d[0] = (s32)f_st[f_stp & 7]; // var_4 fist - *((float *)(u32)&sf.d[0]) = f_st[f_stp & 7]; f_stp++; // var_4 fst + *(float *)((u32)&sf.d[0]) = f_st[f_stp & 7]; f_stp++; // var_4 fst return f_st[f_stp & 7]; }