emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: configure.in support for FreeBSD ia64/sparc64/powerpc


From: Giorgos Keramidas
Subject: Re: configure.in support for FreeBSD ia64/sparc64/powerpc
Date: Tue, 30 Dec 2008 22:55:39 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix)

On Tue, 30 Dec 2008 13:44:14 +0100, Ulrich Mueller <address@hidden> wrote:
>>>>>> On Mon, 29 Dec 2008, Dan Nicolaescu wrote:
>> Or it's a question of FreeBSD not providing an implementation for
>> the "ta 3" trap?
>
> Probably _because_ it is available in hardware and therefore not
> needed? Or, look what other programs like GCC do (in sparc.md):
>
>    ;; Special trap insn to flush register windows.
>    (define_insn "flush_register_windows"
>      [(unspec_volatile [(const_int 0)] UNSPECV_FLUSHW)]
>      ""
>      { return TARGET_V9 ? "flushw" : "ta\t3"; }
>      [(set_attr "type" "flushw")])
>
> No test for the OS here. Similar code can be found in the Boehm-GC or
> in libjava.
>
> But this discussion is moot. Could you please commit the patch with
> the test in the form "defined (__sparc64__) && defined (__FreeBSD__)"
> at least, so that FreeBSD and Gentoo can get rid of their local patch?

That would be fine by me.  One less local patch to maintain :)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]