Re: Using POPCNT and other advanced bit manipulation instructions

Поиск
Список
Период
Сортировка
Искать
От
Gavin Flower
Тема
Re: Using POPCNT and other advanced bit manipulation instructions
Дата
Msg-id
7cd3ffa8-4889-1188-4baa-80ac4396be54@archidevsys.co.nz
Ответ на
Список
Дерево обсуждения
Using POPCNT and other advanced bit manipulation instructions David Rowley <david.rowley@2ndquadrant.com>
Re: Using POPCNT and other advanced bit manipulation instructions Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Using POPCNT and other advanced bit manipulation instructions Michael Paquier <michael@paquier.xyz>
Re: Using POPCNT and other advanced bit manipulation instructions David Rowley <david.rowley@2ndquadrant.com>
Re: Using POPCNT and other advanced bit manipulation instructions Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Using POPCNT and other advanced bit manipulation instructions Tom Lane <tgl@sss.pgh.pa.us>
Re: Using POPCNT and other advanced bit manipulation instructions Andres Freund <andres@anarazel.de>
Re: Using POPCNT and other advanced bit manipulation instructions Tom Lane <tgl@sss.pgh.pa.us>
Re: Using POPCNT and other advanced bit manipulation instructions Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Using POPCNT and other advanced bit manipulation instructions Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Using POPCNT and other advanced bit manipulation instructions Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Using POPCNT and other advanced bit manipulation instructions Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Using POPCNT and other advanced bit manipulation instructions Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Using POPCNT and other advanced bit manipulation instructions Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Using POPCNT and other advanced bit manipulation instructions Tom Lane <tgl@sss.pgh.pa.us>
Re: Using POPCNT and other advanced bit manipulation instructions Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Using POPCNT and other advanced bit manipulation instructions Tom Lane <tgl@sss.pgh.pa.us>
Re: Using POPCNT and other advanced bit manipulation instructions Tom Lane <tgl@sss.pgh.pa.us>
Re: Using POPCNT and other advanced bit manipulation instructions Thomas Munro <thomas.munro@enterprisedb.com>
Re: Using POPCNT and other advanced bit manipulation instructions Tom Lane <tgl@sss.pgh.pa.us>
Re: Using POPCNT and other advanced bit manipulation instructions Tom Lane <tgl@sss.pgh.pa.us>
Re: Using POPCNT and other advanced bit manipulation instructions Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Using POPCNT and other advanced bit manipulation instructions Andres Freund <andres@anarazel.de>
Re: Using POPCNT and other advanced bit manipulation instructions Tom Lane <tgl@sss.pgh.pa.us>
Re: Using POPCNT and other advanced bit manipulation instructions Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: Using POPCNT and other advanced bit manipulation instructions Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Using POPCNT and other advanced bit manipulation instructions Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Using POPCNT and other advanced bit manipulation instructions Tom Lane <tgl@sss.pgh.pa.us>
Re: Using POPCNT and other advanced bit manipulation instructions Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Using POPCNT and other advanced bit manipulation instructions Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Using POPCNT and other advanced bit manipulation instructions Tom Lane <tgl@sss.pgh.pa.us>
Re: Using POPCNT and other advanced bit manipulation instructions Andres Freund <andres@anarazel.de>
Re: Using POPCNT and other advanced bit manipulation instructions Tom Lane <tgl@sss.pgh.pa.us>
Re: Using POPCNT and other advanced bit manipulation instructions Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Using POPCNT and other advanced bit manipulation instructions Tom Lane <tgl@sss.pgh.pa.us>
Re: Using POPCNT and other advanced bit manipulation instructions Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Using POPCNT and other advanced bit manipulation instructions Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Using POPCNT and other advanced bit manipulation instructions Tom Lane <tgl@sss.pgh.pa.us>
Re: Using POPCNT and other advanced bit manipulation instructions Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Using POPCNT and other advanced bit manipulation instructions Gavin Flower <GavinFlower@archidevsys.co.nz>
Re: Using POPCNT and other advanced bit manipulation instructions Tom Lane <tgl@sss.pgh.pa.us>
Re: Using POPCNT and other advanced bit manipulation instructions Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Using POPCNT and other advanced bit manipulation instructions Gavin Flower <GavinFlower@archidevsys.co.nz>
Re: Using POPCNT and other advanced bit manipulation instructions David Rowley <david.rowley@2ndquadrant.com>
Re: Using POPCNT and other advanced bit manipulation instructions Dmitry Dolgov <9erthalion6@gmail.com>
Re: Using POPCNT and other advanced bit manipulation instructions David Rowley <david.rowley@2ndquadrant.com>
Re: Using POPCNT and other advanced bit manipulation instructions Dmitry Dolgov <9erthalion6@gmail.com>
Re: Using POPCNT and other advanced bit manipulation instructions Jose Luis Tallon <jltallon@adv-solutions.net>
Re: Using POPCNT and other advanced bit manipulation instructions David Rowley <david.rowley@2ndquadrant.com>
On 14/02/2019 11:17, Alvaro Herrera wrote:
> On 2019-Feb-13, Alvaro Herrera wrote:
>
>> It definitely is ... plans have changed from using IndexOnly scans to
>> Seqscans, which is likely fallout from the visibilitymap_count() change.
> I think the problem here is that "unsigned long" is 32 bits in this
> machine:

[...]

 From my memory of reading of K&R many moons ago, it said that C only 
guarantees that the lengths are such that

byte <= half word <= word <= long

But I don't recall ever seeing a long less than 32 bits!


Cheers,
Gavin


В списке pgsql-hackers по дате отправления
От: Tom Lane
Дата:
От: Tom Lane
Дата:
FAQ