From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 109931 invoked by alias); 13 May 2015 16:16:20 -0000 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org Received: (qmail 109906 invoked by uid 48); 13 May 2015 16:16:19 -0000 From: "igorr at gitatechnologies dot com" To: gdb-prs@sourceware.org Subject: [Bug sim/18407] Bfin simulator - error in handling >>> (S), when shift value > 16 Date: Wed, 13 May 2015 16:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: sim X-Bugzilla-Version: 7.9 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: igorr at gitatechnologies dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: vapier at gentoo dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-q2/txt/msg00272.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=18407 --- Comment #3 from Igor Rayak --- r u asking which CPU I'm simulating on visualDSP++? It gives the same results on both simulators supplied with visualDSP++, e.g. bf535 and all others. If I recall correctly I've checked it on bf532. in any case it's strange that objdump creates something which cannot be compiled: e.g. R1 = R1 >>> 1 (S) after compiled, converted to R1 = R1 << 0x3f (S) by objdump, and later cannot be compiled by gcc. Which seems to be wrong, unrelated to CPU type. -- You are receiving this mail because: You are on the CC list for the bug.