This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 05/15/2015 07:47 AM, Joseph Myers wrote: > * Boot the new kernel on a system (physical or virtual) where the > emulation code will be used, and run the glibc math/ tests (glibc > built for hard-float) on that system, making sure the results are no > worse than for an old kernel (that is, that no failures appear that > seem likely to be related to the changes; if your existing baseline > has some libm test failures, that means looking in more detail at > *which* individual tests in test-float, test-double, test-ldouble > are failing before and after the kernel patch, to make sure it isn't > introducing such failures). If you see such failures, again, either > debug and fix them or report them to me (though instrumenting the > relevant functions to track down which operation's results are > changing may help a lot in finding where the problem it). Success, given the following additional patch. > @@ -256,26 +259,44 @@ alpha_fp_emul (unsigned long pc) > goto done_d; > > case FOP_FNC_CVTxS: > - FP_FROM_INT_S(SR, ((long)vb), 64, long); > - goto pack_s; > + FP_FROM_INT_S(SR, ((long)vb), 64, unsigned long); > + goto pack_raw_s; > > case FOP_FNC_CVTxT: > - FP_FROM_INT_D(DR, ((long)vb), 64, long); > - goto pack_d; > + FP_FROM_INT_D(DR, ((long)vb), 64, unsigned long); > + goto pack_raw_d; The second argument to FP_FROM_INT_* is not an lvalue, and I don't think it makes sense to require it be such. r~
Attachment:
z
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |