/* Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
This program is free software ; you can redistribute it and / or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation ; version 2 of the License .
This program is distributed in the hope that it will be useful ,
but WITHOUT ANY WARRANTY ; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
GNU General Public License for more details .
You should have received a copy of the GNU General Public License
along with this program ; if not , write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1335 USA */
#include <my_global.h>
#include <my_bit.h>
/*
perl - e ' print map { " , 0 x " . unpack H2 , pack B8 , unpack b8 , chr $ _ } ( 0 . . 255 ) '
*/
const uchar _my_bits_reverse_table[256 ]={
0 x00, 0 x80, 0 x40, 0 xC0, 0 x20, 0 xA0, 0 x60, 0 xE0, 0 x10, 0 x90, 0 x50, 0 xD0, 0 x30,
0 xB0, 0 x70, 0 xF0, 0 x08, 0 x88, 0 x48, 0 xC8, 0 x28, 0 xA8, 0 x68, 0 xE8, 0 x18, 0 x98,
0 x58, 0 xD8, 0 x38, 0 xB8, 0 x78, 0 xF8, 0 x04, 0 x84, 0 x44, 0 xC4, 0 x24, 0 xA4, 0 x64,
0 xE4, 0 x14, 0 x94, 0 x54, 0 xD4, 0 x34, 0 xB4, 0 x74, 0 xF4, 0 x0C, 0 x8C, 0 x4C, 0 xCC,
0 x2C, 0 xAC, 0 x6C, 0 xEC, 0 x1C, 0 x9C, 0 x5C, 0 xDC, 0 x3C, 0 xBC, 0 x7C, 0 xFC, 0 x02,
0 x82, 0 x42, 0 xC2, 0 x22, 0 xA2, 0 x62, 0 xE2, 0 x12, 0 x92, 0 x52, 0 xD2, 0 x32, 0 xB2,
0 x72, 0 xF2, 0 x0A, 0 x8A, 0 x4A, 0 xCA, 0 x2A, 0 xAA, 0 x6A, 0 xEA, 0 x1A, 0 x9A, 0 x5A,
0 xDA, 0 x3A, 0 xBA, 0 x7A, 0 xFA, 0 x06, 0 x86, 0 x46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