Re: Unexpected interval comparison

From: Vick Khera <vivek(at)khera(dot)org>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Unexpected interval comparison
Date: 2017-04-04 12:39:59
Message-ID: CALd+dcfv1Dcoydy+q6iU30J+v3uYnjE0w+8KYRepV-e8bf+_wA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Apr 4, 2017 at 4:15 AM, Kyotaro HORIGUCHI <
horiguchi(dot)kyotaro(at)lab(dot)ntt(dot)co(dot)jp> wrote:

> The previous expression intended to avoid decimal arithmetic, but
> gcc optimizes the simple division better (using cmovns-add-sar)
> than the current INT64_AU32 (jmp-sar) so I changed it. This
> doesn't suffer overflow.
>
>
How does this affect non-gcc compilers? Specifically I am interested in the
llvm based compilers in FreeBSD. Or is this within a gcc-specific section
of the header?

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Stephen Frost 2017-04-04 13:04:15 Re: browser interface to forums please?
Previous Message Thomas Kellerer 2017-04-04 10:17:17 Re: browser interface to forums please?