From: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
To: Ingo Molnar <mingo@elte.hu>
Cc: linux-kernel@vger.kernel.org, "H. Peter Anvin" <hpa@zytor.com>,
Thomas Gleixner <tglx@linutronix.de>
Subject: Re: instruction decoder warnings: Warning: objdump says 5 bytes, but insn_get_length() says 3
Date: Thu, 10 Nov 2011 19:50:45 +0900 [thread overview]
Message-ID: <4EBBAC85.6070900@hitachi.com> (raw)
In-Reply-To: <20111110093011.GA27149@elte.hu>
(2011/11/10 18:30), Ingo Molnar wrote:
>
> FYI, latest -tip (x86, 64-bit, allyesconfig) produces these warnings:
Thanks for the report!
It seems that I need to update AVX support of instruction decoder.
> Warning: arch/x86/tools/test_get_len found difference at
> <sha1_transform_avx>:ffffffff8108b660
>
> Warning: ffffffff8108b709: c5 f9 73 de 04 vpsrldq
> $0x4,%xmm6,%xmm0
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at
> <sha1_transform_avx>:ffffffff8108b660
>
> Warning: ffffffff8108b72b: c5 b1 73 fd 0c vpslldq
> $0xc,%xmm5,%xmm9
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at
> <sha1_transform_avx>:ffffffff8108b660
>
> Warning: ffffffff8108b730: c5 f9 72 f5 01 vpslld
> $0x1,%xmm5,%xmm0
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at
> <sha1_transform_avx>:ffffffff8108b660
>
> Warning: ffffffff8108b752: c5 d1 72 d5 1f vpsrld
> $0x1f,%xmm5,%xmm5
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at
> <sha1_transform_avx>:ffffffff8108b660
>
> Warning: ffffffff8108b75b: c4 c1 51 72 f1 02 vpslld
> $0x2,%xmm9,%xmm5
> Warning: objdump says 6 bytes, but insn_get_length() says 4
> Warning: arch/x86/tools/test_get_len found difference at
> <sha1_transform_avx>:ffffffff8108b660
>
> Warning: ffffffff8108b761: c4 c1 31 72 d1 1e vpsrld
> $0x1e,%xmm9,%xmm9
> Warning: objdump says 6 bytes, but insn_get_length() says 4
> Warning: arch/x86/tools/test_get_len found difference at
> <sha1_transform_avx>:ffffffff8108b660
>
> Warning: ffffffff8108b7ae: c5 f9 73 dd 04 vpsrldq
> $0x4,%xmm5,%xmm0
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at
> <sha1_transform_avx>:ffffffff8108b660
>
> Warning: ffffffff8108b7d1: c5 b1 73 fc 0c vpslldq
> $0xc,%xmm4,%xmm9
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at
> <sha1_transform_avx>:ffffffff8108b660
>
> Warning: ffffffff8108b7d6: c5 f9 72 f4 01 vpslld
> $0x1,%xmm4,%xmm0
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at
> <sha1_transform_avx>:ffffffff8108b660
>
> Warning: ffffffff8108b7f8: c5 d9 72 d4 1f vpsrld
> $0x1f,%xmm4,%xmm4
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at
> <sha1_transform_avx>:ffffffff8108b660
>
> Warning: ffffffff8108b801: c4 c1 59 72 f1 02 vpslld
> $0x2,%xmm9,%xmm4
> Warning: objdump says 6 bytes, but insn_get_length() says 4
> Warning: arch/x86/tools/test_get_len found difference at
> <sha1_transform_avx>:ffffffff8108b660
>
> Warning: ffffffff8108b807: c4 c1 31 72 d1 1e vpsrld
> $0x1e,%xmm9,%xmm9
> Warning: objdump says 6 bytes, but insn_get_length() says 4
> Warning: arch/x86/tools/test_get_len found difference at
> <sha1_transform_avx>:ffffffff8108b660
>
> Warning: ffffffff8108b856: c5 f9 73 dc 04 vpsrldq
> $0x4,%xmm4,%xmm0
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at
> <sha1_transform_avx>:ffffffff8108b660
>
> Warning: ffffffff8108b878: c5 b1 73 fb 0c vpslldq
> $0xc,%xmm3,%xmm9
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at
> <sha1_transform_avx>:ffffffff8108b660
>
> Warning: ffffffff8108b87d: c5 f9 72 f3 01 vpslld
> $0x1,%xmm3,%xmm0
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at
> <sha1_transform_avx>:ffffffff8108b660
>
> Warning: ffffffff8108b89f: c5 e1 72 d3 1f vpsrld
> $0x1f,%xmm3,%xmm3
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at
> <sha1_transform_avx>:ffffffff8108b660
>
> Warning: ffffffff8108b8a8: c4 c1 61 72 f1 02 vpslld
> $0x2,%xmm9,%xmm3
> Warning: objdump says 6 bytes, but insn_get_length() says 4
> Warning: arch/x86/tools/test_get_len found difference at
> <sha1_transform_avx>:ffffffff8108b660
>
> Warning: ffffffff8108b8ae: c4 c1 31 72 d1 1e vpsrld
> $0x1e,%xmm9,%xmm9
> Warning: objdump says 6 bytes, but insn_get_length() says 4
> Warning: arch/x86/tools/test_get_len found difference at
> <sha1_transform_avx>:ffffffff8108b660
>
> Warning: ffffffff8108b8fd: c5 f9 73 db 04 vpsrldq
> $0x4,%xmm3,%xmm0
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at
> <sha1_transform_avx>:ffffffff8108b660
>
> Warning: ffffffff8108b91f: c5 b1 73 fa 0c vpslldq
> $0xc,%xmm2,%xmm9
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at
> <sha1_transform_avx>:ffffffff8108b660
>
> Warning: ffffffff8108b924: c5 f9 72 f2 01 vpslld
> $0x1,%xmm2,%xmm0
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at
> <sha1_transform_avx>:ffffffff8108b660
>
> Warning: ffffffff8108b946: c5 e9 72 d2 1f vpsrld
> $0x1f,%xmm2,%xmm2
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at
> <sha1_transform_avx>:ffffffff8108b660
>
> Warning: ffffffff8108b94f: c4 c1 69 72 f1 02 vpslld
> $0x2,%xmm9,%xmm2
> Warning: objdump says 6 bytes, but insn_get_length() says 4
> Warning: arch/x86/tools/test_get_len found difference at
> <sha1_transform_avx>:ffffffff8108b660
>
> Warning: ffffffff8108b955: c4 c1 31 72 d1 1e vpsrld
> $0x1e,%xmm9,%xmm9
> Warning: objdump says 6 bytes, but insn_get_length() says 4
> Warning: arch/x86/tools/test_get_len found difference at
> <sha1_transform_avx>:ffffffff8108b660
>
> Warning: ffffffff8108b9de: c5 f9 72 f1 02 vpslld
> $0x2,%xmm1,%xmm0
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at
> <sha1_transform_avx>:ffffffff8108b660
>
> Warning: ffffffff8108b9e3: c5 f1 72 d1 1e vpsrld
> $0x1e,%xmm1,%xmm1
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at
> <sha1_transform_avx>:ffffffff8108b660
>
> Warning: ffffffff8108ba5f: c4 c1 79 72 f0 02 vpslld
> $0x2,%xmm8,%xmm0
> Warning: objdump says 6 bytes, but insn_get_length() says 4
> Warning: arch/x86/tools/test_get_len found difference at
> <sha1_transform_avx>:ffffffff8108b660
>
> Warning: ffffffff8108ba65: c4 c1 39 72 d0 1e vpsrld
> $0x1e,%xmm8,%xmm8
> Warning: objdump says 6 bytes, but insn_get_length() says 4
> Warning: arch/x86/tools/test_get_len found difference at
> <sha1_transform_avx>:ffffffff8108b660
>
> Warning: ffffffff8108bae2: c5 f9 72 f7 02 vpslld
> $0x2,%xmm7,%xmm0
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at
> <sha1_transform_avx>:ffffffff8108b660
>
> Warning: ffffffff8108bae7: c5 c1 72 d7 1e vpsrld
> $0x1e,%xmm7,%xmm7
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at
> <sha1_transform_avx>:ffffffff8108b660
>
> Warning: ffffffff8108bb62: c5 f9 72 f6 02 vpslld
> $0x2,%xmm6,%xmm0
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at
> <sha1_transform_avx>:ffffffff8108b660
>
> Warning: ffffffff8108bb67: c5 c9 72 d6 1e vpsrld
> $0x1e,%xmm6,%xmm6
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at
> <sha1_transform_avx>:ffffffff8108b660
>
> Warning: ffffffff8108bbe1: c5 f9 72 f5 02 vpslld
> $0x2,%xmm5,%xmm0
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at
> <sha1_transform_avx>:ffffffff8108b660
>
> Warning: ffffffff8108bbe6: c5 d1 72 d5 1e vpsrld
> $0x1e,%xmm5,%xmm5
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at
> <sha1_transform_avx>:ffffffff8108b660
>
> Warning: ffffffff8108bc61: c5 f9 72 f4 02 vpslld
> $0x2,%xmm4,%xmm0
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at
> <sha1_transform_avx>:ffffffff8108b660
>
> Warning: ffffffff8108bc66: c5 d9 72 d4 1e vpsrld
> $0x1e,%xmm4,%xmm4
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at
> <sha1_transform_avx>:ffffffff8108b660
>
> Warning: ffffffff8108bcf3: c5 f9 72 f3 02 vpslld
> $0x2,%xmm3,%xmm0
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at
> <sha1_transform_avx>:ffffffff8108b660
>
> Warning: ffffffff8108bcf8: c5 e1 72 d3 1e vpsrld
> $0x1e,%xmm3,%xmm3
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at
> <sha1_transform_avx>:ffffffff8108b660
>
> Warning: ffffffff8108bd8b: c5 f9 72 f2 02 vpslld
> $0x2,%xmm2,%xmm0
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at
> <sha1_transform_avx>:ffffffff8108b660
>
> Warning: ffffffff8108bd90: c5 e9 72 d2 1e vpsrld
> $0x1e,%xmm2,%xmm2
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at
> <sha1_transform_avx>:ffffffff8108b660
>
> Warning: ffffffff8108be23: c5 f9 72 f1 02 vpslld
> $0x2,%xmm1,%xmm0
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at
> <sha1_transform_avx>:ffffffff8108b660
>
> Warning: ffffffff8108be28: c5 f1 72 d1 1e vpsrld
> $0x1e,%xmm1,%xmm1
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at
> <sha1_transform_avx>:ffffffff8108b660
>
> Warning: ffffffff8108beba: c4 c1 79 72 f0 02 vpslld
> $0x2,%xmm8,%xmm0
> Warning: objdump says 6 bytes, but insn_get_length() says 4
> Warning: arch/x86/tools/test_get_len found difference at
> <sha1_transform_avx>:ffffffff8108b660
>
> Warning: ffffffff8108bec0: c4 c1 39 72 d0 1e vpsrld
> $0x1e,%xmm8,%xmm8
> Warning: objdump says 6 bytes, but insn_get_length() says 4
> Warning: arch/x86/tools/test_get_len found difference at
> <sha1_transform_avx>:ffffffff8108b660
>
> Warning: ffffffff8108bf55: c5 f9 72 f7 02 vpslld
> $0x2,%xmm7,%xmm0
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at
> <sha1_transform_avx>:ffffffff8108b660
>
> Warning: ffffffff8108bf5a: c5 c1 72 d7 1e vpsrld
> $0x1e,%xmm7,%xmm7
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at
> <sha1_transform_avx>:ffffffff8108b660
>
> Warning: ffffffff8108bfe6: c5 f9 72 f6 02 vpslld
> $0x2,%xmm6,%xmm0
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: arch/x86/tools/test_get_len found difference at
> <sha1_transform_avx>:ffffffff8108b660
>
> Warning: ffffffff8108bfeb: c5 c9 72 d6 1e vpsrld
> $0x1e,%xmm6,%xmm6
> Warning: objdump says 5 bytes, but insn_get_length() says 3
> Warning: decoded and checked 9508702 instructions with 48 warnings
>
> Thanks,
>
> Ingo
--
Masami HIRAMATSU
Software Platform Research Dept. Linux Technology Center
Hitachi, Ltd., Yokohama Research Laboratory
E-mail: masami.hiramatsu.pt@hitachi.com
prev parent reply other threads:[~2011-11-10 10:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-10 9:30 instruction decoder warnings: Warning: objdump says 5 bytes, but insn_get_length() says 3 Ingo Molnar
2011-11-10 10:50 ` Masami Hiramatsu [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4EBBAC85.6070900@hitachi.com \
--to=masami.hiramatsu.pt@hitachi.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.