powerpc: Use .machine any for some inline asm

This commit is contained in:
Sebastian Huber
2022-02-25 21:11:00 +01:00
parent faaffbd913
commit a286d28695
8 changed files with 91 additions and 14 deletions

View File

@@ -229,7 +229,12 @@ static inline void ppc_enforce_in_order_execution_of_io(void)
{
RTEMS_COMPILER_MEMORY_BARRIER();
__asm__ volatile ("eieio");
__asm__ volatile (
".machine \"push\"\n"
".machine \"any\"\n"
"eieio\n"
".machine \"pop\""
);
}
static inline void ppc_data_cache_block_flush(void *addr)