DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] RTM instruction compile failure for XABORT when AVX is active
@ 2015-06-28 17:16 Matthew Hall
  2015-06-28 17:59 ` Matthew Hall
  0 siblings, 1 reply; 10+ messages in thread
From: Matthew Hall @ 2015-06-28 17:16 UTC (permalink / raw)
  To: <dev@dpdk.org>

Hi all,

I am getting a strange error compiling some RTM instructions when I upgraded my VM environment from VirtualBox 4 to VirtualBox 5 and AVX instructions from the host CPU became available. However when I am reading the opcode description for XABORT it supposedly allows an immediate operand for the argument so I can't understand why this code would not compile. Any advice?

  CC test_hash_scaling.o
In file included from /vagrant/external/dpdk/app/test/test_hash_scaling.c:37:
In file included from /vagrant/external/dpdk/build/include/rte_spinlock.h:42:
/vagrant/external/dpdk/build/include/rte_rtm.h:56:15: error: invalid operand for inline asm constraint 'i'
        asm volatile(".byte 0xc6,0xf8,%P0" :: "i" (status) : "memory");

Matthew.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2015-07-01 15:53 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-28 17:16 [dpdk-dev] RTM instruction compile failure for XABORT when AVX is active Matthew Hall
2015-06-28 17:59 ` Matthew Hall
2015-06-28 19:38   ` Thomas Monjalon
2015-06-29 10:11     ` Roman Dementiev
2015-06-29 10:19       ` Thomas Monjalon
2015-07-01  4:28         ` Matthew Hall
2015-07-01  5:17           ` Matthew Hall
2015-07-01  5:49             ` Matthew Hall
2015-07-01 11:10               ` Bruce Richardson
2015-07-01 15:53                 ` Matthew Hall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).