Kinsey Moore started a new discussion on cpukit/score/cpu/riscv/include/rtems/score/riscv-utility.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1239#note_149896 > #define SATP_MODE_SHIFT (31) > #endif > > +#ifndef ASM > + > +#define _RISCV_FENCE( pred, succ ) \ > + __asm__ volatile ( "fence " #pred ", " #succ : : : "memory" ) > + > +static inline void _RISCV_data_barrier( void ) > +{ > + _RISCV_FENCE( rw, rw ); The replaced `rw, rw` fences did not have the memory clobbers whereas the new macro includes the memory clobber implicitly. -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1239#note_149896 You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________ bugs mailing list [email protected] http://lists.rtems.org/mailman/listinfo/bugs
