bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ia64: incorrect encoding of branch whether hints for indirect calls.


From: Marcel Moolenaar
Subject: ia64: incorrect encoding of branch whether hints for indirect calls.
Date: Sat, 27 Apr 2002 12:51:44 -0700
User-agent: Mutt/1.3.27i

Guys,

I run into the following, non-critical AFAICT, encoding bug in the
encoding of indirect call instructions (format B5). The branch
whether hint (BWH) is 3 bits, starting at bit 32. It is treated
as if it was only 2 bits starting at bit 33. This is currently
valid because there's a one to one mapping. The bug is in the
value of bit 32. The current encoding does not set bit 32 and
thus encodes the existing values using the currently unused bit
combinations.

See also:
        SDM v2.0, volume 3, page 3:317, tables 4-50 and 4-51.

Current Itanium implementations don't raise an exception. I haven't
tried it on Itanium 2. Note that it does confuse ski(1). It decodes
an indirect call as:
        br.call.bwh0.many b0=b6;;

objdump(1) gives:
        br.call.sptk.many b0=b6;;

Note that ski(1) ignores the hint, so it's not complaining...

FYI,

-- 
 Marcel Moolenaar         USPA: A-39004          address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]