1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/fe310
Koen Zandberg 889ea15936
fe310: Use read-modify-store instruction on GPIO
The rv32imac supports the A (atomic) extensions containing
read-modify-store operations. This commit modifies the GPIO code to use
these for all bitwise operations. The atomic operations are emitted with
relaxed ordering as they do not require multiprocessor synchronization.

This decreases the duration of the gpio operations from 59 ns to 50 ns
per call. depending a bit on the type of operation.
2020-08-29 09:24:02 +02:00
..
include cpu/fe310: add unified rtt configuration 2020-08-12 14:46:59 +02:00
ldscripts picolibc: Enable TLS support [v4] 2020-08-24 08:26:16 -07:00
nano cpu/fe310: Add PICOLIBC support [v3] 2020-08-24 08:24:54 -07:00
periph fe310: Use read-modify-store instruction on GPIO 2020-08-29 09:24:02 +02:00
vendor cpu/fe310: add RISC-V cpu FE310 2018-05-29 15:21:45 -07:00
clock.c boards/hifive1* cpu/fe310: improve clock customization 2020-08-06 15:59:34 +02:00
context_frame.c cpu/fe310: interrupt handling cleanup 2019-09-27 13:32:43 -07:00
cpu.c cpu/fe310: Add PICOLIBC support [v3] 2020-08-24 08:24:54 -07:00
irq_arch.c fe310: Split sched_run call from handle_trap 2020-08-28 14:17:58 +02:00
Kconfig build system: Add libstdcpp feature and doc 2020-07-15 11:45:22 +02:00
Makefile cpu/fe310: Add PICOLIBC support [v3] 2020-08-24 08:24:54 -07:00
Makefile.dep cpu/fe310: Add PICOLIBC support [v3] 2020-08-24 08:24:54 -07:00
Makefile.features build system: Add libstdcpp feature and doc 2020-07-15 11:45:22 +02:00
Makefile.include cpu/fe310: move dependencies to Makefile.dep 2020-01-28 13:20:52 +01:00
panic.c cpu/fe310: reorganize files and includes 2020-01-10 16:41:33 +01:00
start.S cpu/fe310: Don't register __libc_fini_array with atexit 2020-08-23 13:13:28 -07:00
thread_arch.c cpu/fe310: Don't access sched_active_* 2020-08-17 12:16:07 +02:00