search for: strstart

Displaying 12 results from an estimated 12 matches for "strstart".

2011 May 09
2
[LLVMdev] <badref> showed up when duplicating a list of dependent instructions
...cted a sequence of LLVM instructions, want to make a copy of each and insert them into a PREVIOUS location inside the same function (all globals and locals are properly declared before the PREVIOUS location). Here is the list of instructions I want to duplicate and insert: 0 %90 = load i32* @strstart, align 4 1 %91 = add i32 %90, 2 2 %88 = load i32* @ins_h, align 4 3 %92 = getelementptr inbounds [65536 x i8]* @window, i32 0, i32 %91 4 %89 = shl i32 %88, 5 5 %93 = load i8* %92, align 1 6 %.masked = and i32 %89, 32736 7 %94 = zext i8 %93 to i32 8 %95 = xor i32 %94, %.maske...
2007 Jun 19
1
patch enabling serial (tty) support
Folks, First, let me thank everyone involved for making QEMU available on the Solaris platform. It''s turning out to be really handy.... Here at work we''re required to use GroupWise calendaring (at least for the time being), and I''m trying to get a bit more organized, so thought I''d start (again) using a Palm handheld to take my calendar, etc. with me. The new
2011 May 04
2
[LLVMdev] identifying all dependent instructions through multi-levels of def-use relationship
...%bb30.preheader ] %match_available.153 = phi i32 [ %match_available.0.ph, %bb29 ], [ 0, %bb30.preheader ] tail call void @start_ckpt() nounwind noinline %88 = load i32* @ins_h, align 4 ; [0] %89 = shl i32 %88, 5 ;[1] %90 = load i32* @strstart, align 4 ; [2] %91 = add i32 %90, 2 ; [3] %92 = getelementptr inbounds [65536 x i8]* @window, i32 0, i32 %91 ; [4] %93 = load i8* %92, align 1 ; [5] %94 = zext i8 %93 to i32 ; [6] %.masked = and...
2011 May 05
0
[LLVMdev] identifying all dependent instructions through multi-levels of def-use relationship
...%match_available.153 = phi i32 [ %match_available.0.ph, %bb29 ], [ > 0, %bb30.preheader ] > tail call void @start_ckpt() nounwind noinline > %88 = load i32* @ins_h, align 4 ; [0] > %89 = shl i32 %88, 5 ;[1] > %90 = load i32* @strstart, align 4 ; [2] > %91 = add i32 %90, 2 ; [3] > %92 = getelementptr inbounds [65536 x i8]* @window, i32 0, i32 %91 > ; [4] > %93 = load i8* %92, align 1 ; [5] > %94 = zext i8 %93 to i32 ;...
2011 May 09
0
[LLVMdev] <badref> showed up when duplicating a list of dependent instructions
...r(pi, CloneI); // Inserts newInst after pi in pb > > // adjust pi: point to the newly inserted inst: > pi = CurI; > > }//end of for loop on p > > > However, I got the following errors: > > --- Insert New (cloned) Instructions: ... > <badref> = load i32* @strstart, align 4 > <badref> = add i32<badref>, 2 > <badref> = load i32* @ins_h, align 4 > <badref> = getelementptr inbounds [65536 x i8]* @window, i32 0, i32<badref> > <badref> = shl i32<badref>, 5 > <badref> = load i8*<b...
2012 Aug 21
5
[PATCH 1/2 v1] blkdrv: Add queue limits parameters for sg block drive
...+} + static int hdev_open(BlockDriverState *bs, const char *filename, int flags) { BDRVRawState *s = bs->opaque; @@ -868,6 +925,7 @@ static int hdev_open(BlockDriverState *bs, const char *filename, int flags) temp = realpath(filename, resolved_path); if (temp && strstart(temp, "/dev/sg", NULL)) { bs->sg = 1; + sg_get_queue_limits(bs, temp); } } #endif diff --git a/block_int.h b/block_int.h index d72317f..a9d07a2 100644 --- a/block_int.h +++ b/block_int.h @@ -333,6 +333,10 @@ struct BlockDriverState { /* lon...
2012 Aug 21
5
[PATCH 1/2 v1] blkdrv: Add queue limits parameters for sg block drive
...+} + static int hdev_open(BlockDriverState *bs, const char *filename, int flags) { BDRVRawState *s = bs->opaque; @@ -868,6 +925,7 @@ static int hdev_open(BlockDriverState *bs, const char *filename, int flags) temp = realpath(filename, resolved_path); if (temp && strstart(temp, "/dev/sg", NULL)) { bs->sg = 1; + sg_get_queue_limits(bs, temp); } } #endif diff --git a/block_int.h b/block_int.h index d72317f..a9d07a2 100644 --- a/block_int.h +++ b/block_int.h @@ -333,6 +333,10 @@ struct BlockDriverState { /* lon...
2007 Nov 30
0
[LLVMdev] GC patches again
...t;char> (char being a dummy). However, this is a fine starting point, the implementation can be tuned later. About the interface: + PooledStringPtr intern(const std::string &Str); Instead of taking an std::string, please provide two versions: PooledStringPtr intern(const char *StrStart, const char *StrEnd); and: PooledStringPtr intern(const char *CStr) { return intern(CStr, CStr+strlen(CStr); } This discourages string abuse/copying: std::string is not very efficient. Also, in PooledStringPtr, please make the accessor not return an std::string. //===-- gc-5-funattr....
2005 Aug 04
0
[PATCH 6/11] Xenstore watch rework
...ed_data *in) +{ + struct watch *watch; + char *vec[2]; bool relative; - if (get_strings(in, vec, ARRAY_SIZE(vec)) != ARRAY_SIZE(vec)) - return send_error(conn, EINVAL); + if (get_strings(in, vec, ARRAY_SIZE(vec)) != ARRAY_SIZE(vec)) { + send_error(conn, EINVAL); + return; + } relative = !strstarts(vec[0], "/"); vec[0] = canonicalize(conn, vec[0]); - if (!check_node_perms(conn, vec[0], XS_PERM_READ)) - return send_error(conn, errno); + if (!check_node_perms(conn, vec[0], XS_PERM_READ)) { + send_error(conn, errno); + return; + } watch = talloc(conn, struct watch); watch-&...
2007 Sep 22
0
rsync build on IA64 using icc
...^ zlib/deflate.c(1462): remark #310: old-style parameter list (anachronism) int flush; ^ zlib/deflate.c(1519): remark #810: conversion from "unsigned int" to "uch={unsigned char}" may lose significant bits _tr_tally_dist(s, s->strstart - s->match_start, ^ zlib/deflate.c(1519): remark #810: conversion from "unsigned int" to "ush={unsigned short}" may lose significant bits _tr_tally_dist(s, s->strstart - s->match_start, ^ zlib/deflate.c(1577): remark #310: old...
2009 Aug 25
3
Extending virtio_console to support multiple ports
Hello all, Here is a new iteration of the patch series that implements a transport for guest and host communications. The code has been updated to reuse the virtio-console device instead of creating a new virtio-serial device. I've tested for compatibility (old qemu & new kernel, new qemu & old kernel, new qemu & new kernel) and it all works fine. There are a few items on my
2009 Aug 25
3
Extending virtio_console to support multiple ports
Hello all, Here is a new iteration of the patch series that implements a transport for guest and host communications. The code has been updated to reuse the virtio-console device instead of creating a new virtio-serial device. I've tested for compatibility (old qemu & new kernel, new qemu & old kernel, new qemu & new kernel) and it all works fine. There are a few items on my