search for: reg_1

Displaying 6 results from an estimated 6 matches for "reg_1".

Did you mean: reg1
2006 Aug 21
0
[LLVMdev] Recalculating live intervals
...one which has a stack slot already? > Yes. The stack slot is the place where the value will be stored in memory, but, when that value is effectively used in the code, you must load it into a physical register. Assume that reg_v is mapped to stack slot x, and there is an instruction such as add reg_1 := reg_v reg_2, where reg_1 is mapped to phys_1, reg_v is mapped to phys_v, and reg_2 is mapped to phys_2. Your final code will be like: load phys_v, x add phys_1 := phys_v, phys_2 In order to insert load/store instructions, you can use the VirtRegMap class. The spiller, that is implemented in Vi...
2012 Oct 09
1
How to create a column in dependence of another column
...alue in "trans_value" is: >= 500 USDm Having defined these deals with low, medium, high I want to run a lm() with these categories as independent variable. deal_category2 <- factor(deal_category) levels(deal_category2) <- c("low", "medium", "high") reg_1 <- lm(dep_var1 ~ indep_1 + indep_2 + deal_category2) summary(reg_1) Is this correct? Does R recognize my categories as variables? Thanks for all your support! Felix -- View this message in context: http://r.789695.n4.nabble.com/How-to-create-a-column-in-dependence-of-another-column-tp46455...
2006 Aug 23
1
[LLVMdev] Recalculating live intervals
...lready? >> > > Yes. The stack slot is the place where the value will be stored in memory, > but, when that value is effectively used in the code, you must load it > into a physical register. Assume that reg_v is mapped to stack slot x, and > there is an instruction such as add reg_1 := reg_v reg_2, where reg_1 is > mapped to phys_1, reg_v is mapped to phys_v, and reg_2 is mapped to > phys_2. Your final code will be like: > > load phys_v, x > add phys_1 := phys_v, phys_2 > > In order to insert load/store instructions, you can use the VirtRegMap > class...
2006 Aug 21
3
[LLVMdev] Recalculating live intervals
I'm not sure about one thing: you assign stack slot to each new register you replace the spilled one with. And then you need to allocate physical registers to them. Is it possible to assign physical register to the virtual one which has a stack slot already? On 8/21/06, Fernando Magno Quintao Pereira <fernando at cs.ucla.edu> wrote: > > > > So what addIntervalsToSpills
2012 May 23
0
[LLVMdev] Assembly macros instantiation problem
...;ve noticed a following strange behavior: clang-3.2 fails to compile/parse any assembly code that invokes macros which named arguments contains non alphanumeric characters. For example, compilation of the following code snippet would fail with "Parameter not found" error: .macro mov_macro reg_1, reg_2 movl %\reg_1, %\reg_2 .endm mov_macro eax, ebx Although, if one removes underscores from mov_macro argument names, compilation would succeed. Such behavior is due to the glitch in AsmParser::expandMacro() logic: it treats first non-alphanumeric character as the end of argument instantiat...
2009 Jan 28
3
[LLVMdev] uses of unwind lead to crashes
...scheme_entry () { %init_env = bitcast i32* @empty_env to %eframe* %main = invoke i32 @main_1(%eframe* %init_env) to label %Done unwind label %Exn Done: %fixed = bitcast i32 %main to i32 ret i32 %fixed Exn: ret i32 0 } define i32 @dispatch(%eframe* %env, i32 %fun_val, %packed_args* %args) { %reg_1 = and i32 %fun_val, 3 %reg_2 = icmp eq i32 %reg_1, 1 br i1 %reg_2, label %L_79, label %L_80 L_80: store i32 %fun_val, i32* @error_val store i32 5, i32* @error_code unwind L_79: %reg_3 = and i32 %fun_val, 4294967292 %reg_4 = inttoptr i32 %reg_3 to i32* %reg_5 = load i32* %reg_4 %reg_6 = and...