From: H. P. A. <hp...@zy...> - 2013-12-01 00:34:52
|
On 11/28/2013 04:52 PM, anonymous coward wrote: >> And when a relaxed jmp instruction becomes a short (Jb) form, >> bnd prefix is not needed because it does not initialize bnd registers. >> So in that case, bnd prefix is silently dropped. > > The assembler shouldn't silently drop explicitly specified prefixes. > > You want a suppressible warning instead. Hmm. This is messy, because when you are writing MPX code you want *all* your jumps that need them to have the BND prefix, but you don't want to have to muck with the issue of short ones not needing it. Perhaps what we need is a bnd option to the "default" directive? -hpa |