Displaying 20 results from an estimated 121 matches for "arg4".
Did you mean:
arg
2007 Apr 19
3
[RFC, PATCH 1/5] Paravirt_ops full patching.patch
...n there is a return value, the invoker of the macro must specify
* the return type. The macro then uses sizeof() on that type to
@@ -405,6 +404,21 @@ unsigned paravirt_patch_insns(void *site
"0" ((u32)(arg1)), "1" ((u32)(arg2)), \
"2" ((u32)(arg3)), [_arg4] "mr" ((u32)(arg4)))
+#define PVOP_CALL5(rettype, op, arg1, arg2, arg3, arg4, arg5) \
+ __PVOP_CALL(rettype, op, \
+ "push %[_arg5]; push %[_arg4];", \
+ "lea 8(%%esp),%%esp;", \
+ "0" ((u32)(arg1)), "1" ((u32)(arg2)), \...
2007 Apr 19
3
[RFC, PATCH 1/5] Paravirt_ops full patching.patch
...n there is a return value, the invoker of the macro must specify
* the return type. The macro then uses sizeof() on that type to
@@ -405,6 +404,21 @@ unsigned paravirt_patch_insns(void *site
"0" ((u32)(arg1)), "1" ((u32)(arg2)), \
"2" ((u32)(arg3)), [_arg4] "mr" ((u32)(arg4)))
+#define PVOP_CALL5(rettype, op, arg1, arg2, arg3, arg4, arg5) \
+ __PVOP_CALL(rettype, op, \
+ "push %[_arg5]; push %[_arg4];", \
+ "lea 8(%%esp),%%esp;", \
+ "0" ((u32)(arg1)), "1" ((u32)(arg2)), \...
2013 Nov 06
2
[LLVMdev] loop vectorizer: Unexpected extract/insertelement
The following IR implements the following nested loop:
for (int i = start ; i < end ; ++i )
for (int p = 0 ; p < 4 ; ++p )
a[i*4+p] = b[i*4+p] + c[i*4+p];
define void @main(i64 %arg0, i64 %arg1, i1 %arg2, i64 %arg3, float*
noalias %arg4, float* noalias %arg5, float* noalias %arg6) {
entrypoint:
br i1 %arg2, label %L0, label %L1
L0: ; preds = %entrypoint
%0 = add nsw i64 %arg0, %arg3
%1 = add nsw i64 %arg1, %arg3
br label %L2
L1:...
2013 Nov 06
0
[LLVMdev] loop vectorizer: Unexpected extract/insertelement
...:
> The following IR implements the following nested loop:
>
> for (int i = start ; i < end ; ++i )
> for (int p = 0 ; p < 4 ; ++p )
> a[i*4+p] = b[i*4+p] + c[i*4+p];
>
>
>
>
> define void @main(i64 %arg0, i64 %arg1, i1 %arg2, i64 %arg3, float* noalias %arg4, float* noalias %arg5, float* noalias %arg6) {
> entrypoint:
> br i1 %arg2, label %L0, label %L1
>
> L0: ; preds = %entrypoint
> %0 = add nsw i64 %arg0, %arg3
> %1 = add nsw i64 %arg1, %arg3
> br label %L2
>
> L1:...
2007 Apr 18
0
[PATCH] paravirt_ops: Clean up paravirt patchable wrappers
...((u32)(arg1)), \
- "1" ((u32)(arg2)), \
- "2" ((u32)(arg3)), \
- paravirt_type(__op), \
- paravirt_clobber(CLBR_ANY) \
- : "memory", "cc"); \
- })
-
-#define PVOP_CALL4(__rettype, __op, arg1, arg2, arg3, arg4) \
- ({ \
- __rettype __ret; \
- if (sizeof(__rettype) > sizeof(unsigned long)) { \
- unsigned long long __tmp; \
- unsigned long __ecx; \
- asm volatile("push %[_arg4]; " \
- paravirt_alt(PARAVIRT_CALL) \
- "lea 4(%%esp),%%esp" \
-...
2007 Apr 18
0
[PATCH] paravirt_ops: Clean up paravirt patchable wrappers
...((u32)(arg1)), \
- "1" ((u32)(arg2)), \
- "2" ((u32)(arg3)), \
- paravirt_type(__op), \
- paravirt_clobber(CLBR_ANY) \
- : "memory", "cc"); \
- })
-
-#define PVOP_CALL4(__rettype, __op, arg1, arg2, arg3, arg4) \
- ({ \
- __rettype __ret; \
- if (sizeof(__rettype) > sizeof(unsigned long)) { \
- unsigned long long __tmp; \
- unsigned long __ecx; \
- asm volatile("push %[_arg4]; " \
- paravirt_alt(PARAVIRT_CALL) \
- "lea 4(%%esp),%%esp" \
-...
2013 Nov 06
2
[LLVMdev] loop vectorizer: Unexpected extract/insertelement
...%21, i32 0
%26 = getelementptr float* %arg6, i64 %25
%27 = bitcast float* %26 to <4 x float>*
%wide.load3 = load <4 x float>* %27, align 16
%28 = fadd <4 x float> %wide.load3, %wide.load
%29 = extractelement <4 x i64> %21, i32 0
%30 = getelementptr float* %arg4, i64 %29
%31 = bitcast float* %30 to <4 x float>*
store <4 x float> %28, <4 x float>* %31, align 16
%index.next = add i64 %index, 4
%32 = icmp eq i64 %index, 0
br i1 %32, label %middle.block, label %vector.body
middle.block: ; pr...
2007 May 30
3
Dial plan inquiry using GotoIf()
...particular caller. Sounds easy enough, but my ternary operator/plan
currently is not properly being implemented. Can anyone spot where I'm
being a momo?
All extensions get forwarded to the following macro:
[macro-forward]
; arg1 = phone number
; arg2 = timeout
; arg3 = extension (voicemail)
; arg4 = mobile number
exten => s,1,Zapateller(answer|nocallerid)
exten => s,2,PrivacyManager
exten => s,3,Wait(1)
exten => s,4,GotoIf($[${CALLERID(number)} = "15552221313"]?15:5)
exten => s,5,GotoIf($[${LEN(${CALLERID(number)})} = 4]?6:8)
exten => s,6,AGI(didextlookup.agi|${CA...
2013 Nov 06
0
[LLVMdev] loop vectorizer: Unexpected extract/insertelement
...t;4 x float>*
%wide.load = load <4 x float>* %9, align 16
%10 = getelementptr float* %arg6, i64 %7
%11 = bitcast float* %10 to <4 x float>*
%wide.load3 = load <4 x float>* %11, align 16
%12 = fadd <4 x float> %wide.load3, %wide.load
%13 = getelementptr float* %arg4, i64 %7
%14 = bitcast float* %13 to <4 x float>*
store <4 x float> %12, <4 x float>* %14, align 16
%index.next = add i64 %index, 4
%15 = icmp eq i64 %index, 0
br i1 %15, label %middle.block, label %vector.body
On Nov 6, 2013, at 8:39 AM, Frank Winter <fwinter at jla...
2006 Jun 26
0
[klibc 37/43] x86_64 support for klibc
...call \
+ : "=a" (__res) \
+ : "0" (__NR_##name),"D" (arg1),"S" (arg2), \
+ "d" (arg3) \
+ : __syscall_clobber); \
+__syscall_return(type,__res); \
+}
+
+#define _syscall4(type,name,type1,arg1,type2,arg2,type3,arg3,type4,arg4) \
+type name (type1 arg1,type2 arg2,type3 arg3,type4 arg4) \
+{ \
+long __res; \
+register type4 __r10 asm("%r10") = arg4; \
+__asm__ volatile (__syscall \
+ : "=a" (__res) \
+ : "0" (__NR_##name),"D" (arg1),"S" (arg2), \
+ &...
2015 Jul 07
2
[LLVMdev] Modifications to SLP
...fmul float %5, %3
%10 = fadd float %9, %8
%11 = fmul float %7, %3
%12 = fmul float %5, %1
%13 = fsub float %12, %11
%14 = getelementptr float* %arg3, i32 16
%15 = load float* %14
%16 = getelementptr float* %arg3, i32 4112
%17 = load float* %16
%18 = getelementptr float* %arg4, i32 0
%19 = load float* %18
%20 = getelementptr float* %arg4, i32 4096
%21 = load float* %20
%22 = fmul float %21, %15
%23 = fmul float %19, %17
%24 = fadd float %23, %22
%25 = fmul float %21, %17
%26 = fmul float %19, %15
%27 = fsub float %26, %25
%28 = fadd float %2...
2020 Jun 03
2
Fwd: I cannot change value of global variable in LLVM IR using IRBuilder
...LoadInst* load = Builder.CreateLoad(key);
Value* inc = Builder.CreateAdd(load, Builder.getInt64(1));
StoreInst* store = Builder.CreateStore(inc, key);
return store;
}
return I;
}
Instruction* InstructionVisitor::print(Instruction* I, const char* text,
Value* arg1, Value* arg2, Value* arg3, Value* arg4) {
Function* printfFn = I->getModule()->getFunction("printf");
if (printfFn) {
IRBuilder<> Builder(I->getContext());
Builder.SetInsertPoint(I->getNextNode());
Value* convertedText = Builder.CreateGlobalStringPtr(text);
std::vector <Value *> params;
params.push_bac...
2013 Dec 06
1
Paging in waves.
...DURATION})
same =>
n,ExecIf($[${ISNULL(${ARG1})}=0]?Page(${ARG1},n(${RECORDED_FILE})is),10)
same =>
n,ExecIf($[${ISNULL(${ARG2})}=0]?Page(${ARG2},n(${RECORDED_FILE})is),10)
same =>
n,ExecIf($[${ISNULL(${ARG3})}=0]?Page(${ARG3},n(${RECORDED_FILE})is),10)
same =>
n,ExecIf($[${ISNULL(${ARG4})}=0]?Page(${ARG4},n(${RECORDED_FILE})is),10)
same =>
n,ExecIf($[${ISNULL(${ARG5})}=0]?Page(${ARG5},n(${RECORDED_FILE})is),10)
same =>
n,ExecIf($[${ISNULL(${ARG6})}=0]?Page(${ARG6},n(${RECORDED_FILE})is),10)
same =>
n,ExecIf($[${ISNULL(${ARG7})}=0]?Page(${ARG7},n(${RECORDED_FILE})is),10...
2013 Nov 01
2
[LLVMdev] loop vectorizer: this loop is not worth vectorizing
...izer complains about a too small
loop.
LV: Checking a loop in "main"
LV: Found a loop: L3
LV: Found a loop with a very small trip count. This loop is not worth
vectorizing.
LV: Not vectorizing.
Here the IR:
define void @main(i64 %arg0, i64 %arg1, i1 %arg2, i64 %arg3, float*
noalias %arg4, float* noalias %arg5, float* noalias %arg6) {
entrypoint:
br i1 %arg2, label %L0, label %L2
L0: ; preds = %entrypoint
%0 = add nsw i64 %arg0, %arg3
%1 = add nsw i64 %arg1, %arg3
br label %L2
L2:...
2013 Oct 28
2
[LLVMdev] loop vectorizer says Bad stride
...%arg0 to i64)),+,-4}<%L0>)
Non-consecutive pointer access
LV: We don't need a runtime memory check.
LV: Can't vectorize due to memory conflicts
LV: Not vectorizing.
Here the input IR:
define void @bar(i32 %arg0, i32 %arg1, float* noalias %arg2, float*
noalias %arg3, float* noalias %arg4) {
entrypoint:
br label %L0
L0: ; preds = %L0, %entrypoint
%0 = phi i32 [ %16, %L0 ], [ %arg0, %entrypoint ]
%1 = add nsw i32 %0, 256
%2 = sext i32 %0 to i64
%3 = getelementptr float* %arg3, i64 %2
%4 = load float* %3, align 4
%5 =...
2006 Jun 06
0
Need help with two-stage ringing macro
...icemail greeting is heard. Debug shows
that voicemail is starting and that Asterisk is dropping the call on the
PRI. Calls made from SIP or IAX devices work fine.
[macro-followme]
;
; "modified standard extension" macro for two-stage ringing.
;
; It will call the destinations in ${ARG4} for ${ARG2} seconds, and
; if that fails, the destinations in ${ARG5} for ${ARG3} seconds. If
; that also fails, it will send the call to voice mail for extension
; ${ARG1}.
;
; Note: if you want it to ring phone1 first, then phone1 AND phone2
; next, you have to list phone1 in both lists....
2009 Jul 11
0
MACRO-INCOMING-CALL-TO-EXTENSION
...=> s,n,Dial(${ARG1},${ARG2},${MOHCLASS}tw)*
*exten => s,n,Goto(s-${DIALSTATUS},1)*
*exten => s-ANSWER,1,Hangup*
*exten =>
s-NOANSWER,1,GotoIf(${EXISTS(${DB(CFNR/${EXTENSION})})}?${ARG5},${DB(CFNR/${EXTENSION})},1)
;Get CFNR key*
*exten => s-NOANSWER,n,Macro(voicemailbox,${ARG3},${ARG4})*
*exten =>
s-BUSY,1,GotoIf(${EXISTS(${DB(CFB/${EXTENSION})})}?${ARG5},${DB(CFB/${EXTENSION})},1)
;Get CFB key*
*exten => s-BUSY,n,Macro(voicemailbox,${ARG3},${ARG4})*
*exten => _s-.,1,Macro(voicemailbox,${ARG3},${ARG4})*
Thanks for your help
-------------- next part --------------
An...
2015 May 14
3
nagios check_local_disk failing
...attempting to do a local disk check on the nagios server itself. Not
an NRPE check.
This is the command definition:
# 'check_local_disk' command definition
define command{
command_name check_local_disk
command_line $USER1$/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$ -x
$ARG4$
}
Can someone please tel me where I'm going wrong?
Thanks,
Tim
--
GPG me!!
gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
2013 Oct 31
3
[LLVMdev] loop vectorizer misses opportunity, exploit
----- Original Message -----
>
> Hi Nadav,
>
> that's the whole point of it. I can't in general make the index
> calculation simpler. The example given is the simplest non-trivial
> index function that is needed. It might well be that it's that
> simple that the index calculation in this case can be thrown aways
> altogether and - as you say - be replaced by
2015 Jul 29
2
[LLVMdev] x86-64 backend generates aligned ADDPS with unaligned address
...le)
declare double @tan(double)
declare double @tanh(double)
declare double @fabs(double)
declare double @sqrt(double)
declare double @pow(double, double)
declare double @atan2(double, double)
define void @func(i64 %lo, i64 %hi, float* %arg0, float* %arg1, float* %arg2, float* %arg3, float* %arg4) {
pre_loop3:
br label %loop2
loop2: ; preds = %loop2, %pre_loop3
%0 = phi i64 [ 0, %pre_loop3 ], [ %42, %loop2 ]
%1 = getelementptr [8 x i64]* @offset_array3, i64 0, i64 %0
%2 = load i64* %1
%3 = getelementptr [8 x i64]* @offset_array2, i64 0,...