similar to: [LLVMdev] [patch] llvm-gcc support for packed structures

Displaying 20 results from an estimated 80000 matches similar to: "[LLVMdev] [patch] llvm-gcc support for packed structures"

2006 Dec 06
4
[LLVMdev] Proposed: first class packed structures
Currently, Structure layout is left to targets, which implement them according to the ABI of that platform. While this is fine for most structures, it makes packed structures very ugly. All fields in a packed type must be converted to byte arrays with casts to access fields, which bloats accesses and obsfucates the types. First class support for packed types would clean up the generated code
2006 Dec 08
0
[LLVMdev] Proposed: first class packed structures
On Dec 6, 2006, at 10:44 AM, Andrew Lenharth wrote: > Currently, Structure layout is left to targets, which implement them > according to the ABI of that platform. While this is fine for most > structures, it makes packed structures very ugly. All fields in a > packed type must be converted to byte arrays with casts to access > fields, which bloats accesses and obsfucates the
2006 Dec 08
2
[LLVMdev] Proposed: first class packed structures
On Thu, 2006-12-07 at 22:00 -0800, Chris Lattner wrote: > On Dec 6, 2006, at 10:44 AM, Andrew Lenharth wrote: > > > Currently, Structure layout is left to targets, which implement them > > according to the ABI of that platform. While this is fine for most > > structures, it makes packed structures very ugly. All fields in a > > packed type must be converted to byte
2006 Dec 08
1
[LLVMdev] Proposed: first class packed structures
On 12/8/06, Chris Lattner <clattner at apple.com> wrote: > This patch isn't sufficient for two reasons: 1) it will turn structs that > don't need to be packed into packed llvm structs. 2) it won't turn some > that should be packed llvm structs into packed structs (e.g. strange ABI > considerations force a field to be unaligned, not an attribute at the source >
2006 Dec 08
0
[LLVMdev] Proposed: first class packed structures
On Dec 6, 2006, at 1:58 PM, Andrew Lenharth wrote: > The attached patch (gcc.patch) implements the gcc portion of packed > types. I have only tested this on a few examples, so I may be missing > some type conversions somewhere. > > The gcc patch requires llvm_extra.patch, not included in the > previous emails. > > Andrew > <llvm_extra.patch> llvm_extra.patch
2006 Dec 06
3
[LLVMdev] Proposed: first class packed structures
The attached patch (gcc.patch) implements the gcc portion of packed types. I have only tested this on a few examples, so I may be missing some type conversions somewhere. The gcc patch requires llvm_extra.patch, not included in the previous emails. Andrew -------------- next part -------------- A non-text attachment was scrubbed... Name: llvm_extra.patch Type: text/x-patch Size: 1677 bytes
2010 Feb 04
1
[LLVMdev] Unpacked Structures within Packed Structures
Dear LLVMers, I have a question on packed structures in LLVM 2.6. Is it possible to place an unpacked structure type as a member within a packed structure type? What I want to do is to have the fields of an inner structure padded per the ABI but have the elements of the outer structure packed. Thanks in advance. -- John T.
2006 Dec 06
0
[LLVMdev] Proposed: first class packed structures
Attached is a cleaned up patch. Andrew -------------- next part -------------- A non-text attachment was scrubbed... Name: packed.patch Type: text/x-patch Size: 12700 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20061206/26110f77/attachment.bin>
2008 Feb 08
5
[PATCH] virtio_ring: make structure defines packed
Currently the virtio_ring structure are not declared packed, but they describe an hardware like interface. We should not allow compilers to make alignments and optimizations that can be different between the guest and host compiler. I propose to declare all structures that are in shared memory as packed. Does anybody see a problem with packed? Signed-off-by: Christian Borntraeger
2008 Feb 08
5
[PATCH] virtio_ring: make structure defines packed
Currently the virtio_ring structure are not declared packed, but they describe an hardware like interface. We should not allow compilers to make alignments and optimizations that can be different between the guest and host compiler. I propose to declare all structures that are in shared memory as packed. Does anybody see a problem with packed? Signed-off-by: Christian Borntraeger
2008 Feb 21
1
[LLVMdev] atomics
Attached is a patch to support atomic compare and swap, load add store, and swap. These I think should be a sufficient minimal set of atomic intrinsics. Only Alpha has codegen support for all intrinsics (hey, alpha has to have something shiny and new occasionally). X86 is a matter of implementing the various xchange instructions and the lock prefix (by someone more familiar with that .td file
2018 Nov 27
0
[PATCH net-next v3 00/13] virtio: support packed ring
On Wed, Nov 21, 2018 at 06:03:17PM +0800, Tiwei Bie wrote: > Hi, > > This patch set implements packed ring support in virtio driver. > > A performance test between pktgen (pktgen_sample03_burst_single_flow.sh) > and DPDK vhost (testpmd/rxonly/vhost-PMD) has been done, I saw > ~30% performance gain in packed ring in this case. > > To make this patch set work with below
2018 Nov 21
0
[PATCH net-next v3 00/13] virtio: support packed ring
On Wed, Nov 21, 2018 at 06:03:17PM +0800, Tiwei Bie wrote: > Hi, > > This patch set implements packed ring support in virtio driver. > > A performance test between pktgen (pktgen_sample03_burst_single_flow.sh) > and DPDK vhost (testpmd/rxonly/vhost-PMD) has been done, I saw > ~30% performance gain in packed ring in this case. Thanks a lot, this is very exciting! Dave, given
2018 Sep 10
0
[PATCH net-next v2 2/5] virtio_ring: support creating packed ring
On Fri, Sep 07, 2018 at 10:03:24AM -0400, Michael S. Tsirkin wrote: > On Wed, Jul 11, 2018 at 10:27:08AM +0800, Tiwei Bie wrote: > > This commit introduces the support for creating packed ring. > > All split ring specific functions are added _split suffix. > > Some necessary stubs for packed ring are also added. > > > > Signed-off-by: Tiwei Bie <tiwei.bie at
2020 Mar 28
0
[klibc:master] nfsmount: Fix alignment of packet structures
Commit-ID: b4f1a2bfe64cd0d8dc58c0b7173745f3c1af0bb3 Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=b4f1a2bfe64cd0d8dc58c0b7173745f3c1af0bb3 Author: Ben Hutchings <ben at decadent.org.uk> AuthorDate: Sat, 28 Mar 2020 22:17:36 +0000 Committer: Ben Hutchings <ben at decadent.org.uk> CommitDate: Sat, 28 Mar 2020 22:33:26 +0000 [klibc] nfsmount: Fix alignment of
2018 Sep 12
1
[PATCH net-next v2 2/5] virtio_ring: support creating packed ring
On Mon, Sep 10, 2018 at 10:28:37AM +0800, Tiwei Bie wrote: > On Fri, Sep 07, 2018 at 10:03:24AM -0400, Michael S. Tsirkin wrote: > > On Wed, Jul 11, 2018 at 10:27:08AM +0800, Tiwei Bie wrote: > > > This commit introduces the support for creating packed ring. > > > All split ring specific functions are added _split suffix. > > > Some necessary stubs for packed
2018 Nov 21
1
[PATCH net-next v3 00/13] virtio: support packed ring
On Wed, Nov 21, 2018 at 07:20:27AM -0500, Michael S. Tsirkin wrote: > On Wed, Nov 21, 2018 at 06:03:17PM +0800, Tiwei Bie wrote: > > Hi, > > > > This patch set implements packed ring support in virtio driver. > > > > A performance test between pktgen (pktgen_sample03_burst_single_flow.sh) > > and DPDK vhost (testpmd/rxonly/vhost-PMD) has been done, I saw
2006 Dec 01
0
[LLVMdev] DSGraph::computeCalleeCallerMapping failing
I tried with bugpoint, but it still give a large code. I have attached the bugpoint output file. ---- Original message ---- >Date: Fri, 1 Dec 2006 12:57:55 -0600 >From: "Andrew Lenharth" <andrewl at lenharth.org> >Subject: Re: [LLVMdev] DSGraph::computeCalleeCallerMapping failing >To: "LLVM Developers Mailing List" <llvmdev at cs.uiuc.edu> >
2013 May 12
2
[LLVMdev] structure packing and misaligned members
I'm trying to determine how to do my packed structure compilation and am a bit unclear about how packed structures are handled. Consider this structure: %struct.packed = type <{ i8, i32 }> Now if I get a pointer to the i32 element the pointer will not be properly aligned for a typical i32. On my current machine (x86_64) the cpu doesn't seem to care, but I suspect this isn't
2013 May 12
0
[LLVMdev] structure packing and misaligned members
Hi edA-qa mort-ora-y, On 12/05/13 17:13, edA-qa mort-ora-y wrote: > I'm trying to determine how to do my packed structure compilation and am > a bit unclear about how packed structures are handled. Consider this > structure: > > %struct.packed = type <{ i8, i32 }> > > Now if I get a pointer to the i32 element the pointer will not be > properly aligned for a