search for: iprintf

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

Did you mean: sprintf
2011 Feb 02
3
[LLVMdev] Implementing platform specific library call simplification
The newlib C library provides iprintf(), a restricted version of printf without support for floating-point formatting. I'd like to add an optimization which turns calls to printf() into calls to iprintf() if the format string has no floating point specifiers. At the moment I've got this working locally by adding code to the...
2011 Feb 24
3
[LLVMdev] Implementing platform specific library call simplification
On Feb 13, 2011, at 12:24 AM, Chris Lattner wrote: > On Feb 2, 2011, at 10:11 AM, Richard Osborne wrote: >> The newlib C library provides iprintf(), a restricted version of printf >> without support for floating-point formatting. I'd like to add an >> optimization which turns calls to printf() into calls to iprintf() if >> the format string has no floating point specifiers. > > Cool, ok. I can see how this wo...
2011 Feb 13
0
[LLVMdev] Implementing platform specific library call simplification
On Feb 2, 2011, at 10:11 AM, Richard Osborne wrote: > The newlib C library provides iprintf(), a restricted version of printf > without support for floating-point formatting. I'd like to add an > optimization which turns calls to printf() into calls to iprintf() if > the format string has no floating point specifiers. Cool, ok. I can see how this would be very useful for...
2011 Feb 24
0
[LLVMdev] Implementing platform specific library call simplification
On 2/24/2011 1:21 AM, Chris Lattner wrote: > On Feb 13, 2011, at 12:24 AM, Chris Lattner wrote: > >> On Feb 2, 2011, at 10:11 AM, Richard Osborne wrote: >>> The newlib C library provides iprintf(), a restricted version of printf >>> without support for floating-point formatting. I'd like to add an >>> optimization which turns calls to printf() into calls to iprintf() if >>> the format string has no floating point specifiers. >> Cool, ok. I can see how...
2009 Jan 14
5
[PATCH] Support cross-bitness guest when core-dumping
This patch allows core-dumping to work on a cross-bit host/guest configuration, whereas previously that was not supported. It supports both PV and FV guests. The core file format generated by the host, needs to match that of the guest, so an alignment issue is addressed, along with the p2m frame list handling being done according to the guest size. Signed-off-by: Bruce Rogers
2006 Sep 18
1
Re: dumpcore changes -- [Xen-changelog] [xen-unstable] In this patch, the xc_domain_dumpcore_via_callback() in xc_core.c of
...xc_core_header)); > + if ( sts != 0 ) > + goto error_out; > + > + sts = dump_rtn(fd, (char *)&ctxt, sizeof(ctxt[0]) * nr_vcpus); > if ( sts != 0 ) > goto error_out; > > @@ -91,27 +103,39 @@ xc_domain_dumpcore_via_callback(int xc_h > IPRINTF("Could not get the page frame list\n"); > goto error_out; > } > - sts = dump_rtn(args, (char *)page_array, nr_pages * > sizeof(xen_pfn_t)); > + sts = dump_rtn(fd, (char *)page_array, nr_pages * sizeof(xen_pfn_t)); > if ( sts != 0 ) >...
2010 Sep 29
0
[LLVMdev] comparison pattern trouble - might be a bug in LLVM 2.8?
On Sep 29, 2010, at 12:36 AM, Heikki Kultala wrote: > On 29 Sep 2010, at 06:25, Heikki Kultala wrote: > >> Our architecture has 1-bit boolean predicate registers. >> >> I've defined comparison >> >> def NErrb : InstTCE<(outs I1Regs:$op3), (ins I32Regs:$op1,I32Regs:$op2), "", [(set I1Regs:$op3, (setne I32Regs:$op1, I32Regs:$op2))]>;
2002 Jul 12
0
COM32 boots...
Well, I'm porting Cygnus' newlib libc to the COM32 environment, and got it to printf() Hello, World! yesterday. The binary was 24K; 14K if I used iprintf() [printf sans floating-point support] instead of printf(). There is still a lot of work to do, obviously, but I was rather excited over having gotten it this far :) This should make it a lot easier to support all kinds of odd UI support for SYSLINUX, for those that want it. -hpa
2010 Sep 29
1
[LLVMdev] comparison pattern trouble - might be a bug in LLVM 2.8?
On 29 Sep 2010, at 06:25, Heikki Kultala wrote: > Our architecture has 1-bit boolean predicate registers. > > I've defined comparison > > > def NErrb : InstTCE<(outs I1Regs:$op3), (ins I32Regs:$op1,I32Regs:$op2), "", [(set I1Regs:$op3, (setne I32Regs:$op1, I32Regs:$op2))]>; > > > > > But then I end up having the following bug: > >
2011 Feb 24
2
[LLVMdev] Implementing platform specific library call simplification
On Feb 24, 2011, at 12:41 AM, John Criswell wrote: >>>> At the moment I've got this working locally by adding code to the >>>> simplify-libcalls pass. However this will break on targets where >>>> iprintf() isn't available. Is there a sensible place to add information >>>> about which library functions are available for a particular target? >>> I'd suggest adding a bool argument (HasIPrintf) to the createSimplifyLibCallsPass function and the pass constructor. Then clang...
2010 Sep 30
4
[LLVMdev] Illegal optimization in LLVM 2.8 during SelectionDAG? (Re: comparison pattern trouble - might be a bug in LLVM 2.8?)
...x8000; } else { crc &= 0x7fff; } } return crc; } int main(void) { char *foo = "foobar"; volatile short zero = 0; volatile int crc = Calc_crc8(foo[0],zero); /* #ifdef __TCE__ iprintf("Crc8 at middle is %d\n", crc); #else printf("Crc8 at middle is %d\n", crc); #endif */ crc = Calc_crc8(foo[1],crc); /* #ifdef __TCE__ iprintf("Crc8 is %d\n", crc); #else printf("Crc8 is %d\n", crc); #endif */ if (crc != 32768) {...
2007 Jan 18
13
[PATCH 0/5] dump-core take 2:
The following dump-core patches changes its format into ELF, adds PFN-GMFN table, HVM support, and adds experimental IA64 support. - ELF format Program header and note section are adopted. - HVM domain support To know the memory area to dump, XENMEM_set_memory_map is added. XENMEM_memory_map hypercall is for current domain, so new one is created. and hvm domain builder tell xen its