On 09/01/18 17:36, Bernd Edlinger wrote: > Richard Earnshaw wrote: > > Let me give an example, we use the generic code expansion if we > > encounter the builtin when generating code for Thumb on pre-ARMv7 > > devices. We don't have instructions in 'thumb1' to guard against > > speculation and we really want to warn users that they've done this (it > > might be a mistake in how they're invoking the compiler). > > Instead of this warning in one of the unsupported cases, could you use > the DSB SYS + ISB barrier as the white paper suggests? > > > Bernd.
Thumb1 doesn't have those instructions. R.