search for: str7

Displaying 15 results from an estimated 15 matches for "str7".

Did you mean: str
2008 Jan 06
0
[LLVMdev] Another memory fun
but why this code don't work: ; ModuleID = 'sample.lz' @.str1 = internal global [6 x i8] c"world\00" ; <[6 x i8]*> [#uses=1] @.str2 = internal global [7 x i8] c"hello \00" ; <[7 x i8]*> [#uses=1] @.str7 = internal global [7 x i8] c"father\00" ; <[7 x i8]*> [#uses=1] @.str8 = internal global [8 x i8] c"mother \00" ; <[8 x i8]*> [#uses=1] declare i32 @puts(i8*) declare i8* @strcat(i8*, i8*) declare i32 @strlen(i8*) declare void @llvm.memcpy.i32(i8...
2008 Jan 06
4
[LLVMdev] Another memory fun
Yes, I agree with you -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20080106/efb1c465/attachment.html>
2008 Jan 06
4
[LLVMdev] Another memory fun
Hey again) Now I have next code: ; ModuleID = 'sample.lz' @.str1 = internal global [8 x i8] c" world!\00" ; <[8 x i8]*> [#uses=1] @.str2 = internal global [8 x i8] c"hello, \00" ; <[8 x i8]*> [#uses=1] @.str7 = internal global [21 x i8] c"welcome to out hall!\00" ; <[21 x i8]*> [#uses=1] declare i32 @puts(i8*) declare i8* @strcat(i8*, i8*) declare void @llvm.memcpy.i32(i8*, i8*, i32, i32) define i32 @main() { mainBlock: %.str3 = getelementptr [8 x i8]* @.str2, i64 0...
2008 Jan 06
2
[LLVMdev] trouble with getelementptr
Hello, I have next code: ;begin ; ModuleID = 'sample.lz' @.str1 = internal constant [20 x i8] c"\22hello, cruel world\22" ; <[20 x i8]*> [#uses=1] @.str4 = internal constant [9 x i8] c"\22hello, \22" ; <[9 x i8]*> [#uses=1] @.str7 = internal constant [7 x i8] c"\22heya!\22" ; <[7 x i8]*> [#uses=1] declare i32 @puts(i8*) declare i8 @strcat(i8*, i8*) define i32 @main() { mainBlock: %tmp2 = getelementptr [20 x i8]* @.str1, i64 0, i64 0 ; <i8*> [#uses=1] %tmp3 = cal...
2014 Aug 01
3
[LLVMdev] [PowerPC] ABI questions
...'s done if the aggregate's size is not in [1,2,4]. For an example, look at the assembly code for the program below. I don't have the setup to compile for Linux/AIX PPC64 with clang, so I don't know what LLVM does right now (I performed the tests with gcc). Jonas *** struct str7 { char a[7]; }; int f7(struct str7 s) { return s.a[0]+s.a[6]; } int main(int argc) { struct str7 s7; s7.a[0]=argc; s7.a[6]=argc; return f7(s7); } *** - Linux/ppc64 (gcc 4.7.2): main: [initialise s7 on stack] ld 9,112(31) srdi 3,9,8 ; shift struct into least significant bi...
2008 Jan 06
0
[LLVMdev] Another memory fun
...) > > Now I have next code: > > ; ModuleID = 'sample.lz' > @.str1 = internal global [8 x i8] c" world!\00" ; <[8 x i8]*> > [#uses=1] > @.str2 = internal global [8 x i8] c"hello, \00" ; <[8 x i8]*> > [#uses=1] > @.str7 = internal global [21 x i8] c"welcome to out hall!\00" > ; <[21 x i8]*> [#uses=1] > > declare i32 @puts(i8*) > > declare i8* @strcat(i8*, i8*) > > declare void @llvm.memcpy.i32(i8*, i8*, i32, i32) > > define i32 @main() { > mainBlock: &gt...
2008 Jan 06
4
[LLVMdev] Another memory fun
...I think, that is valid in c but next code too doesn't works right: ; ModuleID = 'sample.lz' @.str1 = internal global [6 x i8] c"world\00" ; <[6 x i8]*> [#uses=1] @.str2 = internal global [7 x i8] c"hello \00" ; <[7 x i8]*> [#uses=1] @.str7 = internal global [7 x i8] c"father\00" ; <[7 x i8]*> [#uses=1] @.str8 = internal global [8 x i8] c"mother \00" ; <[8 x i8]*> [#uses=1] declare i32 @puts(i8*) declare i8* @strcat(i8*, i8*) declare i32 @strlen(i8*) declare void @llvm.memcpy.i32(i8...
2008 Jan 06
0
[LLVMdev] Another memory fun
...) > > Now I have next code: > > ; ModuleID = 'sample.lz' > @.str1 = internal global [8 x i8] c" world!\00" ; <[8 x > i8]*> [#uses=1] > @.str2 = internal global [8 x i8] c"hello, \00" ; <[8 x > i8]*> [#uses=1] > @.str7 = internal global [21 x i8] c"welcome to out hall! > \00" ; <[21 x i8]*> [#uses=1] > > declare i32 @puts(i8*) > > declare i8* @strcat(i8*, i8*) > > declare void @llvm.memcpy.i32(i8*, i8*, i32, i32) > > define i32 @main() { > mainBlock: >...
2009 Jan 05
1
Porting Speex to embedded 32bit
...53% Decoder - 4.2% Except 11200 mode it can work on 48 MHz STM32 USB Access Line. (11200 probably can work in non full duplex application). Version for ARM v5E (STR9) is faster for about of 25% for comparable processor's frequencies, by using of DSP commands. Version for ARM v4 (STR7, LPC21XX/23XX/28XX) can work even on 60 MHz. (but not all speex modes. Just 6,8,15). Here is Measurements of performance for LPC2138 - 60 MHz. 4000 kbit/sec (quality = 1) Encoder - 17.9 msec/frame 59% Decoder - 0.97 msec/frame 3% 6000 kbit/sec (quality = 2) Encoder - 13.5 msec/...
2013 Nov 23
2
[LLVMdev] bugpoint question
...g code generator crash! Checking to see if we can delete global inits: <llc> - Removing all global inits hides problem! *** Attempting to reduce the number of global variables in the testcase Checking for crash with only these global variables: .str .str1 .str2 .str3 .str4 .str5 .str6 .str7 .str8 .str9... <40 total>: <llc> Checking for crash with only these blocks: entry cond.true cond.false cond.end cond.true9 cond.false12 cond.end13 cond.true20 cond.false24 cond.end25... <20 total>: Cannot find `opt' in PATH! simplifycfg failed! On 11/22/2013 07:14 PM, Hal...
2014 Jul 30
4
[LLVMdev] [PowerPC] ABI questions
Hi all, I'm trying to understand which ABIs are supported in the PowerPC backend and I'm getting a bit confused. Here's what I've gathered so far alongside with some questions. - In PPCSubtarget.h there's DarwinABI, SVR4ABI and ELFv2ABI. - The CodeGenerator documentation claims that the AIX PowerPC ABI is followed (with some deviations). Is this refering to the DarwinABI? -
2013 Nov 23
0
[LLVMdev] bugpoint question
...to see if we can delete global inits: <llc> > - Removing all global inits hides problem! > > *** Attempting to reduce the number of global variables in the > testcase > Checking for crash with only these global variables: .str .str1 > .str2 > .str3 .str4 .str5 .str6 .str7 .str8 .str9... <40 total>: <llc> > Checking for crash with only these blocks: entry cond.true cond.false > cond.end cond.true9 cond.false12 cond.end13 cond.true20 cond.false24 > cond.end25... <20 total>: Cannot find `opt' in PATH! > simplifycfg failed! Is 'opt...
2013 Nov 23
0
[LLVMdev] bugpoint question
----- Original Message ----- > From: "reed kotler" <rkotler at mips.com> > To: LLVMdev at cs.uiuc.edu > Sent: Friday, November 22, 2013 8:40:24 PM > Subject: [LLVMdev] bugpoint question > > This is my first time using bugpoint. I'm getting the following > error: > > /home/rkotler/llvmw/install/bin/bugpoint -run-llc casts.bc > --tool-args >
2013 Nov 23
2
[LLVMdev] bugpoint question
This is my first time using bugpoint. I'm getting the following error: /home/rkotler/llvmw/install/bin/bugpoint -run-llc casts.bc --tool-args -target mips-linux-gnu -mcpu=mips16 -mips16-constant-islands Read input file : 'casts.bc' *** All input ok Initializing execution environment: Found llc: /home/rkotler/llvmw/install/bin/llc Sorry, I can't automatically select a
2012 Dec 25
2
[LLVMdev] [DragonEgg] Strange call to @"\01__isoc99_fscanf"
...tderr = external global %struct._IO_FILE* @.str4 = private unnamed_addr constant [28 x i8] c"Cannot open output file %s\0A\00", align 1 @.str5 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str6 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str7 = private unnamed_addr constant [27 x i8] c"Cannot open input file %s\0A\00", align 1 @.str8 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str9 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 define i32 @main(i32 %argc, i8** %argv) nounwind...