> That was an error on my side. The wrong memory model had gotten cached > in a generated make script. Lets drop membar_leon3 also then :)
Fine with me but, on second thoughts, if a mere "stb" is a #StoreLoad memory barrier for LEON3, doesn't this simply mean that the memory model of the LEON3 is Strong Consistency and not TSO? In which case, the only thing to change is the default setting for LEON3 in sparc_option_override. -- Eric Botcazou