On 24 Jul 2012, at 23:43, Konstantin Belousov wrote: > As kan rightfully notes, the assumption that &%fs:0 == *%fs:0 holds for > userspace on amd64, and the same is true for %gs userspace on i386. > The change you committed to clang/llvm/whatever it called just breaks > useful optimization for FreeBSD.
If you can suggest a way of differentiating the kernel and userspace compilation targets, then I would be happy to hear it and will make the appropriate change. Until then, I would rather have slightly sub-optimal code in userspace than incorrect code in kernelspace. > Sigh Very helpful, thank you. David_______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"