search for: expansion

Displaying 20 results from an estimated 2854 matches for "expansion".

2015 Feb 14
3
C5 BASH IF
...>>> operations as the shell makes multiple passes over the line, >>> parsing, processing metacharacters, and expanding variables. And >>> I don't know where to find a concise description of that any more. >> >> man bash, about 900 lines down under "EXPANSION". > > But it is not 'just' expansions. You need to know the full order of > operations with all the steps - word splitting, quote removal, i/o > redirection, groupings, etc., some of which is repeated over the line > after some of the other steps happen. I think I sa...
2020 Jul 16
0
[PATCH vhost next 08/10] vdpa/mlx5: Add support library for mlx5 VDPA implementation
...ror: invalid application of 'sizeof' to incomplete type 'struct mlx5_ifc_create_uctx_out_bits' 65 | #define MLX5_ST_SZ_DW(typ) (sizeof(struct mlx5_ifc_##typ##_bits) / 32) | ^~~~~~ drivers/vdpa/mlx5/core/resources.c:52:10: note: in expansion of macro 'MLX5_ST_SZ_DW' 52 | u32 out[MLX5_ST_SZ_DW(create_uctx_out)] = {}; | ^~~~~~~~~~~~~ >> drivers/vdpa/mlx5/core/resources.c:52:44: error: empty scalar initializer 52 | u32 out[MLX5_ST_SZ_DW(create_uctx_out)] = {}; |...
2019 Sep 11
0
[vhost:linux-next 16/17] include/linux/page_reporting.h:9:34: note: in expansion of macro 'pageblock_order'
...ction '__del_page_from_reported_list': arch/riscv/include/asm/page.h:24:22: error: 'PMD_SHIFT' undeclared (first use in this function); did you mean 'NMI_SHIFT'? #define HPAGE_SHIFT PMD_SHIFT ^ arch/riscv/include/asm/page.h:27:34: note: in expansion of macro 'HPAGE_SHIFT' #define HUGETLB_PAGE_ORDER (HPAGE_SHIFT - PAGE_SHIFT) ^~~~~~~~~~~ include/linux/pageblock-flags.h:41:26: note: in expansion of macro 'HUGETLB_PAGE_ORDER' #define pageblock_order HUGETLB_PAGE_ORDER...
2020 Jul 16
0
[PATCH vhost next 10/10] vdpa/mlx5: Add VDPA driver for supported mlx5 devices
...drivers/vdpa/mlx5/net/main.c:7:10: fatal error: mlx5_vdpa_ifc.h: No such file or directory 7 | #include "mlx5_vdpa_ifc.h" | ^~~~~~~~~~~~~~~~~ compilation terminated. -- | ^~~~~~~~~~~~~ include/linux/mlx5/device.h:56:43: note: in expansion of macro '__mlx5_bit_sz' 56 | #define __mlx5_dw_bit_off(typ, fld) (32 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0x1f)) | ^~~~~~~~~~~~~ include/linux/mlx5/device.h:58:60: note: in expansion of macro '__mlx5_dw_...
2020 Aug 05
0
[PATCH V4 linux-next 00/12] VDPA support for Mellanox ConnectX devices
...^~~~~~~~~~~~~~~~~~ ./include/uapi/linux/swab.h:115:54: note: in definition of macro ?__swab32? 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ ./include/linux/byteorder/generic.h:95:21: note: in expansion of macro ?__be32_to_cpu? 95 | #define be32_to_cpu __be32_to_cpu | ^~~~~~~~~~~~~ ./include/linux/stddef.h:17:32: note: in expansion of macro ?__compiler_offsetof? 17 | #define offsetof(TYPE, MEMBER) __compiler_offsetof(TYPE, MEMBER) |...
2020 Aug 05
0
[PATCH V4 linux-next 00/12] VDPA support for Mellanox ConnectX devices
...~~~ > > ./include/uapi/linux/swab.h:115:54: note: in definition of macro ?__swab32? > > 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) > > | ^ > > ./include/linux/byteorder/generic.h:95:21: note: in expansion of macro ?__be32_to_cpu? > > 95 | #define be32_to_cpu __be32_to_cpu > > | ^~~~~~~~~~~~~ > > ./include/linux/stddef.h:17:32: note: in expansion of macro ?__compiler_offsetof? > > 17 | #define offsetof(TYPE, MEMBER) __compiler_offsetof(TYPE, MEM...
2015 Feb 14
2
C5 BASH IF
...completely you need to know the order of > operations as the shell makes multiple passes over the line, > parsing, processing metacharacters, and expanding variables. And > I don't know where to find a concise description of that any more. man bash, about 900 lines down under "EXPANSION". -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQIcBAEBAgAGBQJU34eBAAoJEAF3yXsqtyBlNuYP/iPLOPY/SbXeGgpZOnJKZ3qH U7cnh56unXT3pTwQ8podSDNbLtiSOt8R729JFpNMwNb4Bzf9XFGaDyCn11DIdOuU RpuZ72NFxC8ezPcWlzvlYZuNRDIso4iQbHt5BjEutJ7RfSOdl+FoUdtXpXYATtaB YB4UQMShFVAr2AeNbJd/IuOopYSplZw...
2015 Feb 14
0
C5 BASH IF
On Sat, Feb 14, 2015 at 1:13 PM, Robert Nichols <rnicholsNOSPAM at comcast.net> wrote: > >> But it is not 'just' expansions. You need to know the full order of >> operations with all the steps - word splitting, quote removal, i/o >> redirection, groupings, etc., some of which is repeated over the line >> after some of the other steps happen. I think I saw this in an >> understandable form fo...
2012 Jul 18
6
taylor expansions with real vectors
Dear list, I have a big deal concerning the development of a Taylor expansion. require(Matrix) e1 <- as.vector(1:5) e2 <- as.vector(6:10) in order to obtain all the combinations between these two vectors following a Taylor expansion (or more simply through a Maclaurin series) for real numbers. We have f(x) = f(0) + f'(0)(x-0) + f''(0)(x-0)^2/2! + ? +...
2019 Sep 11
0
[vhost:linux-next 8/9] drivers/vhost/vhost.c:2076:5: note: in expansion of macro 'array_index_nospec'
..._compiletime_assert(condition, msg, __compiletime_assert_, __LINE__) ^ include/linux/compiler.h:331:4: note: in definition of macro '__compiletime_assert' prefix ## suffix(); \ ^~~~~~ include/linux/compiler.h:350:2: note: in expansion of macro '_compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__) ^~~~~~~~~~~~~~~~~~~ include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert' #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond),...
2020 Jul 16
0
[PATCH vhost next 09/10] vdpa/mlx5: Add shared memory registration code
...: # save the attached .config to linux build tree make W=1 ARCH=i386 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp at intel.com> All warnings (new ones prefixed by >>): include/linux/mlx5/device.h:56:43: note: in expansion of macro '__mlx5_bit_sz' 56 | #define __mlx5_dw_bit_off(typ, fld) (32 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0x1f)) | ^~~~~~~~~~~~~ include/linux/mlx5/device.h:58:60: note: in expansion of macro '__mlx5_dw_...
2016 Dec 29
2
RFC: Inline expansion of memcmp vs call to standard library
Currently on PowerPC, calls to memcmp are not expanded and are left as library calls. In certain conditions, expansion can improve performance rather than calling the library function as done for functions like memcpy, memmove, etc. This patch (https://reviews.llvm.org/D28163) is an initial implementation for PowerPC to expand memcmp when the size is an 8 byte multiple. The approach currently added for this expansi...
2012 Aug 09
2
[LLVMdev] Pseudo instructions expansion
...I'm trying to solve a problem that we have in implementation of the assembler for Mips platform in llvm. Mips has some pseudo instructions that, depending on the arguments can be emitted as one or more real instructions by the assembler. For example load immediate instruction can have multiple expansions depending on a size of immediate operand: This expansion is for 0 ≤ j ≤ 65535. li d,j => ori d,$zero,j This one is for −32768 ≤ j < 0. li d,j => addiu d,$zero,j This one is for any other value of j that is representable as a 32-bit integer. li d,j => lui d,hi16(j) ori d,d,lo16(j) I ha...
2017 May 14
0
[PATCH 2/3] Fix ERROR: Macros with complex values should be enclosed in parentheses
...All error/warnings (new ones prefixed by >>): drivers//net/virtio_net.c:2647:20: warning: left-hand operand of comma expression has no effect [-Wunused-value] (VIRTIO_NET_F_CSUM, VIRTIO_NET_F_GUEST_CSUM, \ ^ >> drivers//net/virtio_net.c:2659:2: note: in expansion of macro 'VIRTNET_FEATURES' VIRTNET_FEATURES, ^~~~~~~~~~~~~~~~ drivers//net/virtio_net.c:2647:45: warning: left-hand operand of comma expression has no effect [-Wunused-value] (VIRTIO_NET_F_CSUM, VIRTIO_NET_F_GUEST_CSUM, \ ^...
2016 Dec 29
0
RFC: Inline expansion of memcmp vs call to standard library
...#39;t like the fact it basically opts out of all of the combines which might further improve the lowering. Philip On 12/29/2016 11:35 AM, Zaara Syeda via llvm-dev wrote: > > Currently on PowerPC, calls to memcmp are not expanded and are left as > library calls. In certain conditions, expansion can improve > performance rather than calling the library function as done for > functions like memcpy, memmove, etc. This patch > *(**https://reviews.llvm.org/D28163**)*is an initial implementation > for PowerPC to expand memcmp when the size is an 8 byte multiple. > > The ap...
2020 Jul 16
0
[PATCH vhost next 09/10] vdpa/mlx5: Add shared memory registration code
...gcc-9.3.0 make.cross ARCH=ia64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp at intel.com> All errors (new ones prefixed by >>): 120 | __fswab32(x)) | ^ include/linux/byteorder/generic.h:94:21: note: in expansion of macro '__cpu_to_be32' 94 | #define cpu_to_be32 __cpu_to_be32 | ^~~~~~~~~~~~~ include/linux/stddef.h:17:32: note: in expansion of macro '__compiler_offsetof' 17 | #define offsetof(TYPE, MEMBER) __compiler_offsetof(TYPE, MEMBER)...
2006 May 08
3
Expansion module
Hello All, Does anyone know of an expansion module (keypad extension for attendant) that works with the gxp-2000? - Jason -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060508/f49a24e3/attachment.htm
2012 Aug 09
0
[LLVMdev] Pseudo instructions expansion
...;m trying to solve a problem that we have in implementation of the assembler for Mips platform in llvm. Mips has some pseudo instructions that, depending on the arguments can be emitted as one or more real instructions by the assembler. > For example load immediate instruction can have multiple expansions depending on a size of immediate operand: > This expansion is for 0 ≤ j ≤ 65535. > li d,j => > ori d,$zero,j > This one is for −32768 ≤ j < 0. > li d,j => > addiu d,$zero,j > This one is for any other value of j that is representable as a 32-bit integer. > li d,j =...
2017 Jan 23
1
[PATCH] virtio_net: fix PAGE_SIZE > 64k
I don't have any guests with PAGE_SIZE > 64k but the code seems to be clearly broken in that case as PAGE_SIZE / MERGEABLE_BUFFER_ALIGN will need more than 8 bit and so the code in mergeable_ctx_to_buf_address does not give us the actual true size. Cc: John Fastabend <john.fastabend at gmail.com> Signed-off-by: Michael S. Tsirkin <mst at redhat.com> --- Lightly tested on x86
2017 Jan 23
1
[PATCH] virtio_net: fix PAGE_SIZE > 64k
I don't have any guests with PAGE_SIZE > 64k but the code seems to be clearly broken in that case as PAGE_SIZE / MERGEABLE_BUFFER_ALIGN will need more than 8 bit and so the code in mergeable_ctx_to_buf_address does not give us the actual true size. Cc: John Fastabend <john.fastabend at gmail.com> Signed-off-by: Michael S. Tsirkin <mst at redhat.com> --- Lightly tested on x86