Alex Richardson
0b4ad01d91
libc/string/bcopy.c: Use intptr_t as the copy type
...
While most 64-bit architectures have an assembly implementation of this
file RISC-V does not. As we now copy 8 bytes instead of 4 it should speed
up RISC-V. Using intptr_t instead of int also allows using this file for
CHERI pure-capability code since trying to copy pointers using integer
loads/stores will invalidate pointers.
Reviewed By: kib
Obtained from: CheriBSD (partially)
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D29535
2021-04-20 01:46:42 +01:00
..
2017-11-20 19:49:47 +00:00
2021-04-20 01:46:42 +01:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2020-12-16 09:02:09 +00:00
2017-11-20 19:49:47 +00:00
2020-11-18 22:01:34 +00:00
2017-11-20 19:49:47 +00:00
2017-11-13 17:04:44 +00:00
2020-11-19 00:03:15 +00:00
2017-08-12 15:18:17 +00:00
2020-02-08 21:17:48 +00:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2017-11-25 17:12:48 +00:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2017-11-13 17:04:44 +00:00
2017-11-20 19:49:47 +00:00
2021-03-01 21:09:59 -05:00
2021-03-01 21:09:59 -05:00
2017-11-20 19:49:47 +00:00
2017-11-25 17:12:48 +00:00
2018-06-06 20:09:21 +00:00
2020-01-15 19:46:01 +00:00
2017-11-25 17:12:48 +00:00
2020-12-14 00:50:45 +00:00
2017-11-20 19:49:47 +00:00
2020-12-18 22:10:17 +00:00
2021-02-23 20:08:10 +02:00
2020-06-14 05:59:30 +00:00
2018-04-17 09:05:46 +00:00
2021-02-08 19:15:21 +00:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2020-01-15 19:53:03 +00:00
2017-11-25 17:12:48 +00:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2018-05-28 18:29:15 +00:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2017-11-25 17:12:48 +00:00
2020-11-19 00:03:15 +00:00
2020-06-22 11:03:36 +00:00
2017-11-20 19:49:47 +00:00
2017-11-25 17:12:48 +00:00
2017-11-20 19:49:47 +00:00
2020-12-16 09:02:09 +00:00
2017-11-20 19:49:47 +00:00
2017-11-25 17:12:48 +00:00
2017-11-25 17:12:48 +00:00
2017-11-25 17:12:48 +00:00
2017-11-25 17:12:48 +00:00
2017-11-20 19:49:47 +00:00
2017-11-25 17:12:48 +00:00
2017-11-25 17:12:48 +00:00
2017-11-25 17:12:48 +00:00
2017-11-25 17:12:48 +00:00
2017-11-25 17:12:48 +00:00
2017-11-25 17:12:48 +00:00
2017-11-25 17:12:48 +00:00
2017-11-25 17:12:48 +00:00
2017-11-25 17:12:48 +00:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2017-11-25 17:12:48 +00:00
2017-11-25 17:12:48 +00:00
2017-11-25 17:12:48 +00:00
2017-11-25 17:12:48 +00:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2019-08-07 20:13:43 +00:00
2017-11-25 17:12:48 +00:00
2017-11-25 17:12:48 +00:00
2017-11-25 17:12:48 +00:00
2017-11-25 17:12:48 +00:00
2017-11-25 17:12:48 +00:00