search for: tret

Displaying 11 results from an estimated 11 matches for "tret".

Did you mean: ret
2011 Apr 14
2
[LLVMdev] llvm instrinsic (memcpy/memset/memmov)and ConstantExpression with cast
...question on ConstantExpressions and llvm intrinsic memcpy/memset/memmove. I am using llvm-2.8 release. In one of the C programs that I am compiling using clang frontend, the call to memcpy instrinsic looks like the following call void @llvm.memcpy.p0i8.p0i8.i64(i8* %tmp2, i8* bitcast (%struct.ta* @tret to i8*), i64 4, i32 4, i1 false), !dbg !19 The second argument to memcpy is of type "struct ta" and global variable "tret" is defined as follows in the code. struct ta { int a; }; struct ta tret; Since memcpy takes i8* as its argument, the struct.ta* is bitcasted to i8* in...
2011 Apr 15
0
[LLVMdev] llvm instrinsic (memcpy/memset/memmov)and ConstantExpression with cast
...nd llvm intrinsic > memcpy/memset/memmove. I am using llvm-2.8 release. In one of the C > programs that I am compiling using clang frontend, the call to memcpy > instrinsic looks like the following > > call void @llvm.memcpy.p0i8.p0i8.i64(i8* %tmp2, i8* bitcast > (%struct.ta* @tret to i8*), i64 4, i32 4, i1 false), !dbg !19 > > The second argument to memcpy is of type "struct ta" and global > variable "tret" is defined as follows in the code. > > struct ta { > > int a; > > }; > > struct ta tret; > > Since memcpy ta...
2010 Oct 29
3
How to scan df from a specific word?
...w the number of lines to skip) and I would like to find a way to start reading the data.frame from the word "source". ex: djhsafk asdfhkjash shdfjkash asfhjkash #those lines contain numbers and words, I want to skip then but they have different sizes asdfhjkash asdfhjksa source tret 2 res 3 Can anybody help? Thanks -- View this message in context: http://r.789695.n4.nabble.com/How-to-scan-df-from-a-specific-word-tp3019841p3019841.html Sent from the R help mailing list archive at Nabble.com.
2020 Aug 23
3
Apropos "shouting": PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT
...gt; long dummy; __attribute__((naked)) long function(void) { __asm__(".data\n" "dummy:\n" ".quad\t0\n" ".text\n" ".intel_syntax noprefix\n" "\tmov\trax, dummy\n" "\tret\n"); } --- EOF --- --- crash-74a40f.sh --- # Crash reproducer for clang version 10.0.0 # Driver args: "-c" "-m64" "crash.c" # Original command: "C:\\Program Files\\LLVM\\bin\\clang.exe" "-cc1" "-triple" "x86_64-pc-windows-msvc1...
2020 Aug 23
2
Apropos "shouting": PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT
...>> __asm__(".data\n" >> "dummy:\n" >> ".quad\t0\n" >> ".text\n" >> ".intel_syntax noprefix\n" >> "\tmov\trax, dummy\n" >> "\tret\n"); >> } >> --- EOF --- >> >> --- crash-74a40f.sh --- >> # Crash reproducer for clang version 10.0.0 >> # Driver args: "-c" "-m64" "crash.c" >> # Original command: "C:\\Program Files\\LLVM\\bin\\clang.exe" &quo...
2020 Aug 23
2
Apropos "shouting": PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT
...gt; "dummy:\n" >> >> ".quad\t0\n" >> >> ".text\n" >> >> ".intel_syntax noprefix\n" >> >> "\tmov\trax, dummy\n" >> >> "\tret\n"); >> >> } >> >> --- EOF --- >> >> >> >> --- crash-74a40f.sh --- >> >> # Crash reproducer for clang version 10.0.0 >> >> # Driver args: "-c" "-m64" "crash.c" >> >> # Original com...
2016 Jan 21
1
[PATCH] tools/virtio: add ringtest utilities
...cles C (default: %d)]" + " [--batch b]" + " [--outstanding o]" + " [--sleep]" + " [--relax]" + " [--exit]" + "\n", + ring_size, + runcycles); +} + +int main(int argc, char **argv) +{ + int ret; + pthread_t host, guest; + void *tret; + char *host_arg = NULL; + char *guest_arg = NULL; + char *endptr; + long int c; + + kickfd = eventfd(0, 0); + assert(kickfd >= 0); + callfd = eventfd(0, 0); + assert(callfd >= 0); + + for (;;) { + int o = getopt_long(argc, argv, optstring, longopts, NULL); + switch (o) { + case -1: + g...
2016 Jan 21
1
[PATCH] tools/virtio: add ringtest utilities
...cles C (default: %d)]" + " [--batch b]" + " [--outstanding o]" + " [--sleep]" + " [--relax]" + " [--exit]" + "\n", + ring_size, + runcycles); +} + +int main(int argc, char **argv) +{ + int ret; + pthread_t host, guest; + void *tret; + char *host_arg = NULL; + char *guest_arg = NULL; + char *endptr; + long int c; + + kickfd = eventfd(0, 0); + assert(kickfd >= 0); + callfd = eventfd(0, 0); + assert(callfd >= 0); + + for (;;) { + int o = getopt_long(argc, argv, optstring, longopts, NULL); + switch (o) { + case -1: + g...
2009 Mar 05
0
[PATCH 5/5] COM32/rosh: Improvements
...s not begin with '-' else 0 + */ +int rosh_ls_parse_opt(const char *filestr, char *optstr) +{ + int ret; + if (filestr[0] == '-') { + ret = 0; + if (optstr) + strcat(optstr, filestr + 1); + } else { + ret = 1; + } + ROSH_DEBUG("ParseOpt: '%s'\n\topt: '%s'\n\tret: %d\n", filestr, optstr, + ret); + return ret; +} /* rosh_ls_parse_opt */ + +/* List Directory based on cmdstr and pwdstr * cmdstr command string to process * pwdstr Present Working Directory string */ -void rosh_dir(const char *cmdstr, const char *pwdstr) +void rosh_ls(const char *cmd...
2010 Jun 27
1
[PATCH] ROSH: Upgraded
.../ +int rosh_ls_parse_opt(const char *filestr, char *optstr) +{ + int ret; + if (filestr[0] == '-') { + ret = 0; + if (optstr) + strcat(optstr, filestr + 1); + } else { + ret = 1; } -} /* rosh_dir_arg */ + ROSH_DEBUG("ParseOpt: '%s'\n\topt: '%s'\n\tret: %d\n", filestr, optstr, + ret); + return ret; +} /* rosh_ls_parse_opt */ -/* Simple directory listing based on cmdstr and pwdstr +/* List Directory based on cmdstr and pwdstr * cmdstr command string to process * pwdstr Present Working Directory string */ -void rosh_dir(con...
2010 Oct 31
1
R-help Digest, Vol 92, Issue 31
...w the number of lines to skip) and I would like to find a way to start reading the data.frame from the word "source". ex: djhsafk asdfhkjash shdfjkash asfhjkash #those lines contain numbers and words, I want to skip then but they have different sizes asdfhjkash asdfhjksa source tret 2 res 3 Can anybody help? Thanks -- View this message in context: http://r.789695.n4.nabble.com/How-to-scan-df-from-a-specific-word-tp3019841p3019841.html Sent from the R help mailing list archive at Nabble.com. ------------------------------ Message: 70 Date: Fri, 29 Oct 2010 15:38:36 -07...