target/ppc: Fix eieio memory ordering semantics
commitfcb830af30adaef6219f6b712f24ec3e794cf2c8
authorNicholas Piggin <npiggin@gmail.com>
Thu, 19 May 2022 13:59:05 +0000 (19 23:59 +1000)
committerDaniel Henrique Barboza <danielhb413@gmail.com>
Thu, 26 May 2022 20:11:33 +0000 (26 17:11 -0300)
tree9abdd79f73e2c276574e49f6a04865667c11acff
parent6f52f731a666d8aeaac5a10b208e9ca6773fb1a6
target/ppc: Fix eieio memory ordering semantics

The generated eieio memory ordering semantics do not match the
instruction definition in the architecture. Add a big comment to
explain this strange instruction and correct the memory ordering
behaviour.

Signed-off: Nicholas Piggin <npiggin@gmail.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220519135908.21282-2-npiggin@gmail.com>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
target/ppc/translate.c