mariadb/include
Yuqi Gu 151fc0ed88 MDEV-23495: Refine Arm64 PMULL runtime check in MariaDB
Raspberry Pi 4 supports crc32 but doesn't support pmull (MDEV-23030).

The PR #1645 offers a solution to fix this issue. But it does not consider
the condition that the target platform does support crc32 but not support PMULL.

In this condition, it should leverage the Arm64 crc32 instruction (__crc32c) and
just only skip parallel computation (pmull/vmull) rather than skip all hardware
crc32 instruction of computation.

The PR also removes unnecessary CRC32_ZERO branch in 'crc32c_aarch64' for MariaDB,
formats the indent and coding style.

Change-Id: I76371a6bd767b4985600e8cca10983d71b7e9459
Signed-off-by: Yuqi Gu <yuqi.gu@arm.com>
2020-08-21 20:41:35 +03:00
..
atomic MDEV-19696 - Cleanup gcc sync builtins 2019-07-03 12:11:22 +03:00
mysql MDEV-21910 Deadlock between BF abort and manual KILL command 2020-07-22 08:20:10 +03:00
aria_backup.h S3 is pluggable now 2020-06-19 19:43:07 +02:00
assume_aligned.h Remove a misleading copyright message 2020-03-21 10:25:54 +02:00
big_endian.h Update FSF address 2019-05-11 19:25:02 +03:00
byte_order_generic.h MDEV-21981 Replace arithmetic + with bitwise OR when possible 2020-03-19 15:09:13 +02:00
byte_order_generic_x86.h MDEV-21981 Replace arithmetic + with bitwise OR when possible 2020-03-19 15:09:13 +02:00
byte_order_generic_x86_64.h MDEV-21981 Replace arithmetic + with bitwise OR when possible 2020-03-19 15:09:13 +02:00
CMakeLists.txt Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
decimal.h Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
dur_prop.h Merge InnoDB 5.7 from mysql-5.7.9. 2016-09-02 13:22:28 +03:00
errmsg.h Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
ft_global.h Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
handler_ername.h Follow-up to changing FSF address 2019-05-11 18:30:45 +03:00
handler_state.h Fix for MDEV-533: Confusing error code when doing auto-increment insert for out-of-range values 2012-09-18 15:14:19 +03:00
hash.h cleanup: PSI key is *always* the first argument 2020-03-10 19:24:23 +01:00
heap.h Added page_range to records_in_range() to improve range statistics 2020-03-27 03:54:45 +02:00
ilist.h Merge 10.4 into 10.5 2020-08-14 11:33:35 +03:00
json_lib.h MDEV-5313 Improving audit API. 2019-01-18 03:18:02 +04:00
keycache.h Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
lf.h Shrink my_atomic.h and my_cpu.h scope 2020-04-15 22:23:03 +04:00
little_endian.h Update FSF address 2019-05-11 19:25:02 +03:00
m_ctype.h MDEV-23154 Add a data type my_repertoire_t 2020-07-13 19:50:07 +04:00
m_string.h move my_assume_aligned() to a separate header 2020-03-20 18:47:35 +03:00
ma_dyncol.h MDEV-19897 Rename source code variable names from utf8 to utf8mb3 2019-06-28 12:37:04 +04:00
maria.h cleanup: Aria headers 2020-06-19 19:43:07 +02:00
my_alarm.h FreeBSD compilation fixes 2020-06-04 23:52:46 +02:00
my_alloc.h perfschema memory related instrumentation changes 2020-03-10 19:24:22 +01:00
my_atomic.h Move c++ code from my_atomic.h to my_atomic_wrapper.h 2020-05-19 14:07:34 +03:00
my_atomic_wrapper.h Move c++ code from my_atomic.h to my_atomic_wrapper.h 2020-05-19 14:07:34 +03:00
my_attribute.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
my_base.h MDEV-19745 BACKUP STAGE BLOCK_DDL hangs on flush sequence table 2020-06-14 19:39:43 +03:00
my_bit.h Coding style fixes 2020-04-04 14:55:51 +04:00
my_bitmap.h MDEV-21907: Fix some -Wconversion outside InnoDB 2020-03-12 19:44:52 +02:00
my_byteorder.h Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
my_check_opt.h Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
my_compare.h Merge branch '10.4' into 10.5 2020-05-09 20:43:36 +02:00
my_compiler.h Merge 10.4 into 10.5 2020-06-05 20:36:43 +03:00
my_context.h Merge branch '10.1' into 10.2 2016-03-23 22:36:46 +01:00
my_counter.h MDEV-22456 after-merge fix: introduce Atomic_relaxed 2020-05-18 15:02:55 +03:00
my_cpu.h Fix build on aarch64, after MDEV-21534 2020-03-02 14:28:16 +01:00
my_crypt.h Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
my_dbug.h Added DBUG_PUSH_EMPTY and DBUG_POP_EMPTY to speed up DBUG 2020-08-20 19:34:11 +03:00
my_decimal_limits.h Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
my_default.h MDEV-22214 mariadbd.exe calls function mysqld.exe, and crashes 2020-04-10 19:05:26 +02:00
my_dir.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
my_getopt.h Merge 10.4 into 10.5 2020-06-18 13:58:54 +03:00
my_global.h Clean up Item_uint() & Item_int() 2020-07-23 10:54:32 +03:00
my_handler_errors.h Merge 10.4 into 10.5 2019-05-23 10:32:21 +03:00
my_libwrap.h Update FSF Address 2019-05-11 21:29:06 +03:00
my_list.h Update FSF Address 2019-05-11 21:29:06 +03:00
my_md5.h Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
my_net.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
my_nosys.h Update FSF Address 2019-05-11 21:29:06 +03:00
my_pthread.h MDEV-22437 make THR_THD* variable thread_local 2020-05-05 18:13:31 +03:00
my_rdtsc.h MDEV-23249: Support aarch64 architecture timer 2020-07-23 15:07:13 +03:00
my_rnd.h Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
my_service_manager.h Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
my_stack_alloc.h perfschema memory related instrumentation changes 2020-03-10 19:24:22 +01:00
my_stacktrace.h After-merge fix of the Windows build 2020-08-20 13:35:26 +03:00
my_sys.h MDEV-23495: Refine Arm64 PMULL runtime check in MariaDB 2020-08-21 20:41:35 +03:00
my_time.h MDEV-23311 CEILING() and FLOOR() convert temporal input to numbers, unlike ROUND() and TRUNCATE() 2020-07-28 23:29:08 +04:00
my_tree.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
my_uctype.h Update FSF Address 2019-05-11 21:29:06 +03:00
my_user.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
my_valgrind.h MDEV-20377 post-fix: Introduce MEM_MAKE_ADDRESSABLE 2020-07-02 17:59:28 +03:00
my_xml.h Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
myisam.h Added page_range to records_in_range() to improve range statistics 2020-03-27 03:54:45 +02:00
myisamchk.h alloc_on_stack: simplify the API 2019-08-23 22:01:39 +02:00
myisammrg.h Added page_range to records_in_range() to improve range statistics 2020-03-27 03:54:45 +02:00
myisampack.h MDEV-21981 Replace arithmetic + with bitwise OR when possible 2020-03-19 15:09:13 +02:00
mysql.h MDEV-17832 Protocol: extensions for Pluggable types and JSON, GEOMETRY 2020-03-10 20:43:32 +04:00
mysql.h.pp MDEV-16470: switch off user variables (and fixes of its support) 2020-06-12 12:14:14 +02:00
mysql_async.h Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
mysql_com.h MDEV-16470: switch off user variables (and fixes of its support) 2020-06-12 12:14:14 +02:00
mysql_com_server.h Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
mysql_embed.h Merge branch '10.3' into 10.4 2019-05-19 20:55:37 +02:00
mysql_time.h Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
mysql_version.h.in Fixed that mariadb-# binaries reads their corresponding entry from my.cnf 2019-07-18 15:32:22 +03:00
mysqld_default_groups.h Fixed that mariadb-# binaries reads their corresponding entry from my.cnf 2019-07-18 15:32:22 +03:00
mysys_err.h MDEV-7947 strcmp() takes 0.37% in OLTP RO 2020-07-23 10:54:33 +03:00
pack.h Merge branch '10.2' into bb-10.2-connector-c-integ-subm 2016-09-21 12:54:56 +02:00
password.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
pfs_file_provider.h perfschema compilation, test and misc fixes 2020-03-10 19:24:23 +01:00
pfs_idle_provider.h P_S 5.7.28 2020-03-10 19:24:22 +01:00
pfs_memory_provider.h P_S 5.7.28 2020-03-10 19:24:22 +01:00
pfs_metadata_provider.h P_S 5.7.28 2020-03-10 19:24:22 +01:00
pfs_socket_provider.h P_S 5.7.28 2020-03-10 19:24:22 +01:00
pfs_stage_provider.h P_S 5.7.28 2020-03-10 19:24:22 +01:00
pfs_statement_provider.h P_S 5.7.28 2020-03-10 19:24:22 +01:00
pfs_table_provider.h P_S 5.7.28 2020-03-10 19:24:22 +01:00
pfs_thread_provider.h P_S 5.7.28 2020-03-10 19:24:22 +01:00
pfs_transaction_provider.h cleanup: pass trxid by value 2020-03-10 19:24:23 +01:00
probes_mysql.d.base Update FSF Address 2019-05-11 21:29:06 +03:00
probes_mysql.h Update FSF Address 2019-05-11 21:29:06 +03:00
probes_mysql_nodtrace.h.in Merge branch '5.5' into 10.0 2016-02-15 22:50:59 +01:00
queues.h Merge branch '10.2' into 10.3 2020-05-04 16:47:11 +02:00
rijndael.h Update FSF Address 2019-05-11 21:29:06 +03:00
scope.h MDEV-22438 add a function similar to std::make_scope_exit() 2020-06-22 12:12:29 +03:00
service_versions.h MDEV-16678 Prefer MDL to dict_sys.latch for innodb background tasks 2019-12-10 15:42:50 +02:00
source_revision.h.in SOURCE_REVISION should always be defined in source_revision.h 2017-11-01 13:20:32 +00:00
span.h span cleanup 2020-05-15 16:25:32 +03:00
sql_common.h Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
ssl_compat.h Update WolfSSL 2020-05-08 11:51:03 +02:00
sslopt-case.h Merge 10.3 into 10.4 2019-12-13 17:30:37 +02:00
sslopt-longopts.h MDEV-14101 Provide an option to select TLS protocol version 2019-06-17 12:26:25 +02:00
sslopt-vars.h MDEV-14101 Provide an option to select TLS protocol version 2019-06-17 12:26:25 +02:00
t_ctype.h Update FSF Address 2019-05-11 21:29:06 +03:00
thr_alarm.h Update FSF Address 2019-05-11 21:29:06 +03:00
thr_lock.h Changes needed for ColumnStore and insert cache 2020-06-14 19:39:42 +03:00
thr_timer.h MDEV-16264 - prerequisite patch, periodic thr_timer 2019-11-15 16:50:22 +01:00
thread_pool_priv.h perfschema - various collateral cleanups and small changes 2020-03-10 19:24:22 +01:00
typelib.h MDEV-19863 Add const to TYPELIB pointers 2019-06-26 05:29:44 +04:00
violite.h Merge 10.4 into 10.5 2020-08-10 21:38:55 +03:00
waiting_threads.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
welcome_copyright_notice.h Update FSF Address 2019-05-11 21:29:06 +03:00
wqueue.h Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
wsrep.h MDEV-20051: Add new mode to wsrep_OSU_method in which Galera checks storage engine of the effected table 2020-02-11 15:17:50 +02:00