search for: movr

Displaying 20 results from an estimated 23 matches for "movr".

Did you mean: movl
2010 Aug 11
1
[LLVMdev] Need advice on writing scheduling pass
...d as follows (note that information in LiveVariables is not updated, so there may exist inconsistencies): BB2: preheader, BB3: header & latch, BB4: exit (before transformation) BB#2: derived from LLVM BB %entry.bb_crit_edge Predecessors according to CFG: BB#0 %reg1025<def> = MOVr %reg1034<kill>, pred:14, pred:%reg0, opt:%reg0 %reg1024<def> = MOVr %reg1033<kill>, pred:14, pred:%reg0, opt:%reg0 %reg1036<def> = MOVi 0, pred:14, pred:%reg0, opt:%reg0 %reg1038<def> = MOVr %reg1024<kill>, pred:14, pred:%reg0, opt:%reg0...
2007 Sep 07
1
[LLVMdev] Call instruction
...er scavenging complains about redefining a live register. The (ARM) code looks like this: bb408: 0x9b07468, LLVM BB @0x9ae9010, ID#8: Live Ins: %r4 %r5 %r7 Predecessors according to CFG: 0x9b08398 (#71) STR %r4<kill>, %sp, %NOREG, 0, 14, %NOREG %r4 = MOVi 0, 14, %NOREG, %NOREG %r0 = MOVr %r7<kill>, 14, %NOREG, %NOREG %r1 = MOVr %r5<kill>, 14, %NOREG, %NOREG %r2 = LDR <fi#1>, %NOREG, 0, 14, %NOREG %r3 = MOVr %r4, 14, %NOREG, %NOREG BL <ga:gimplify_cond_expr>, %r0<kill>, %r1<kill>, %r2<kill>, %r3<kill>, %r0<imp-def>, %r1<i...
2009 Jan 13
2
[LLVMdev] Possible bug in the ARM backend?
...nalysis/LiveVariables should do it or do you mean that my regalloc should do it? > **** Post Machine Instrs **** > # Machine code for Insert(): > Live Ins: R0 in VR#1025 R1 in VR#1026 > > entry: 0x8fdac90, LLVM BB @0x8fc2c48, ID#0: > Live Ins: %R0 %R1 > %LR<def> = MOVr %R0, 14, %reg0, %reg0 > CMPri %R0<kill>, 0, 14, %reg0, %CPSR<imp-def> > Bcc mbb<UnifiedReturnBlock,0x8fdad70>, 10, %CPSR<kill> > Successors according to CFG: 0x8fdad00 (#1) 0x8fdad70 (#2) > > bb368: 0x8fdad00, LLVM BB @0x8fc2c98, ID#1: > Pre...
2009 Jan 07
4
[LLVMdev] Possible bug in the ARM backend?
...before register allocation (this code is produced by bugpoint from a bigger test-case): If you need the BC file, it is attached: # Machine code for Insert(): Live Ins: R0 in VR#1025 R1 in VR#1026 entry: 0x8fdac90, LLVM BB @0x8fc2c48, ID#0: Live Ins: %R0 %R1 %reg1026<def,dead> = MOVr %R1<kill>, 14, %reg0, %reg0 %reg1025<def> = MOVr %R0<kill>, 14, %reg0, %reg0 %reg1024<def> = MOVr %reg1025, 14, %reg0, %reg0 CMPri %reg1025<kill>, 0, 14, %reg0, %CPSR<imp-def> Bcc mbb<UnifiedReturnBlock,0x8fdad70>, 10, %CPSR&...
2009 Jan 13
2
[LLVMdev] Possible bug in the ARM backend?
...fo. OK. >> >> >>> **** Post Machine Instrs **** >>> # Machine code for Insert(): >>> Live Ins: R0 in VR#1025 R1 in VR#1026 >>> >>> entry: 0x8fdac90, LLVM BB @0x8fc2c48, ID#0: >>> Live Ins: %R0 %R1 >>> %LR<def> = MOVr %R0, 14, %reg0, %reg0 >>> CMPri %R0<kill>, 0, 14, %reg0, %CPSR<imp-def> >>> Bcc mbb<UnifiedReturnBlock,0x8fdad70>, 10, %CPSR<kill> >>> Successors according to CFG: 0x8fdad00 (#1) 0x8fdad70 (#2) >>> >>> bb368: 0x8fdad00, L...
2009 Jan 13
0
[LLVMdev] Possible bug in the ARM backend?
...er allocator should update mbb Livein info. > > >> **** Post Machine Instrs **** >> # Machine code for Insert(): >> Live Ins: R0 in VR#1025 R1 in VR#1026 >> >> entry: 0x8fdac90, LLVM BB @0x8fc2c48, ID#0: >> Live Ins: %R0 %R1 >> %LR<def> = MOVr %R0, 14, %reg0, %reg0 >> CMPri %R0<kill>, 0, 14, %reg0, %CPSR<imp-def> >> Bcc mbb<UnifiedReturnBlock,0x8fdad70>, 10, %CPSR<kill> >> Successors according to CFG: 0x8fdad00 (#1) 0x8fdad70 (#2) >> >> bb368: 0x8fdad00, LLVM BB @0x8fc2c98,...
2009 Jan 13
0
[LLVMdev] Possible bug in the ARM backend?
...X_RET 14, %reg0 Ok, ignore my earlier email about BX_RET. The issue is LR should be added to livein of BB #1. **** Post Machine Instrs **** # Machine code for Insert(): Live Ins: R0 in VR#1025 R1 in VR#1026 entry: 0x8fdac90, LLVM BB @0x8fc2c48, ID#0: Live Ins: %R0 %R1 %LR<def> = MOVr %R0, 14, %reg0, %reg0 CMPri %R0<kill>, 0, 14, %reg0, %CPSR<imp-def> Bcc mbb<UnifiedReturnBlock,0x8fdad70>, 10, %CPSR<kill> Successors according to CFG: 0x8fdad00 (#1) 0x8fdad70 (#2) bb368: 0x8fdad00, LLVM BB @0x8fc2c98, ID#1: Predecessors according t...
2017 Feb 13
2
ARM Backend: Emit conditional move
...uction and then I'm trying to emit the conditional move, which is failing. BuildMI(&MBB, DL, TII->get(ARM::CMPrr)) .addReg(MI.getOperand(1).getReg()) .addReg(MI.getOperand(2).getReg()) .addImm(ARMCC::EQ); BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(ARM::MOVr), MI.getOperand(0).getReg()) .addImm(ARMCC::EQ) .addImm(1) .addReg(0); // 's' bit But with the last conditional move, I am a bit lost. The result of the condional move should be saved in operand 0. Can someone help on how to emit this instr...
2016 Apr 27
2
Migration to vfs_fruit with existing AppleDouble files?
...AppleDouble file and it's 0 byte main file to my test system, the correct size (including the resource forks) are shown but the file type is not translated. Using "GetFileInfo" a file copied to the new (vfs_fruit) server using finder will show: type: "tfil" creator: "movr" but the same file with the AppleDouble copied at the unix level (scp) from the old server shows: type: "\0\0\0\0" creator: "\0\0\0\0" So I think the missing piece is com.apple.FinderInfo xattr? Thanks! On Wed, Apr 27, 2016 at 10:29 AM, Ralph Boehme <slow at samba.o...
2017 Jul 07
2
Lowering Select to Two Predicated Movs
My bad for not looking further. I'm still somewhat confused though. MOVCCr gets expanded in the ARMExpandPseudoInsts pass, and it still seems only a case of one instruction replacing the other. My worry of emitting two instructions, is that a dead code pass will eliminate the first instruction cause it thinks the second instruction is defining the same register. -Dilan On Fri, Jul 7, 2017
2014 Mar 06
2
[LLVMdev] Upstreaming PNaCl's IR simplification passes
...aning of any operand2 // 0: operand2 = reg ix // 1: operand2 = fixed immediate value or target segment (depending on instruction) // // instruction set // +++++++++++++++ // // Notes: // * r1, r2 => operand 1 is register 1, operand 2 is register 2 // * movr r1, r2 => move contents of register r2 into register r1 // // opcode | instruction | operands (mod 0) | operands (mod 1) // -------+-------------+------------------+----------------- // 0x00 | jmp | r1 | r2:r1 // 0x01 | movr | r1, r2...
2014 Mar 04
2
[LLVMdev] Upstreaming PNaCl's IR simplification passes
On Tue, Mar 4, 2014 at 3:11 PM, Sean Silva <chisophugis at gmail.com> wrote: > On Tue, Mar 4, 2014 at 4:04 PM, Mark Seaborn <mseaborn at chromium.org>wrote: > >> The PNaCl project has implemented various IR simplification passes that >> simplify LLVM IR by lowering complex features to simpler features. We'd >> like to upstream some of these IR passes to
2009 Jan 09
0
[LLVMdev] Possible bug in the ARM backend?
...mplicitly define LR. So we'll end up with this (hello world example): Live Ins: %LR %R7 %SP<def> = SUBri %SP<kill>, 8, 14, %reg0, %reg0 STR %LR<kill>, %SP, %reg0, 4, 14, %reg0 STR %R7<kill>, %SP, %reg0, 0, 14, %reg0 %R7<def> = MOVr %SP, 14, %reg0, %reg0 %R0<def> = LDR <cp#0>, %reg0, 0, 14, %reg0, Mem:LD(4,4) [<unknown> + 0] BL <ga:puts>, %R0<kill>, %R0<imp-def,dead>, %R1<imp- def,dead>, %R2<imp-def,dead>, %R3<imp-def,dead>, %R12<imp-def,dead>,...
2018 Dec 04
2
Incorrect placement of an instruction after PostRAScheduler pass
...4 INLINEASM <es:ldaexd $0, ${0:H}, [$1];> [sideeffect] [mayload] [maystore] [attdialect], $0:[regdef-ec:GPRPair], %R8_R9<earlyclobber,def>, $1:[reguse:GPR], %R4, <!3> %R0<def> = ANDri %R7, 1, pred:14, pred:%noreg, opt:%CPSR<def> %R0<def> = MOVr %LR, pred:1, pred:%CPSR<kill>, opt:%noreg %R1<def> = EORrr %R0, %LR, pred:14, pred:%noreg, opt:%noreg %R1<def> = ANDrr %R9, %R1<kill>, pred:14, pred:%noreg, opt:%noreg %R2<def> = ADDrr %R8, %R2<kill>, pred:14, pred:%noreg, opt:%CPSR<def...
2009 Jan 09
1
[LLVMdev] Possible bug in the ARM backend?
...ks AFAIK. Let me figure out what's different... > Live Ins: %LR %R7 > %SP<def> = SUBri %SP<kill>, 8, 14, %reg0, %reg0 > STR %LR<kill>, %SP, %reg0, 4, 14, %reg0 > STR %R7<kill>, %SP, %reg0, 0, 14, %reg0 > %R7<def> = MOVr %SP, 14, %reg0, %reg0 > %R0<def> = LDR <cp#0>, %reg0, 0, 14, %reg0, Mem:LD(4,4) > [<unknown> + 0] > BL <ga:puts>, %R0<kill>, %R0<imp-def,dead>, %R1<imp- > def,dead>, %R2<imp-def,dead>, %R3<imp-def,dead>, %R12<imp-d...
2016 May 03
2
Migration to vfs_fruit with existing AppleDouble files?
...t; correct > > size (including the resource forks) are shown but the file type is not > > translated. > > > > Using "GetFileInfo" a file copied to the new (vfs_fruit) server using > > finder will show: > > type: "tfil" > > creator: "movr" > > > > but the same file with the AppleDouble copied at the unix level (scp) > from > > the old server shows: > > type: "\0\0\0\0" > > creator: "\0\0\0\0" > > > > So I think the missing piece is com.apple.FinderInfo xattr? >...
2017 Jul 07
2
Lowering Select to Two Predicated Movs
...l > > seems only a case of one instruction replacing the other. > > The output of MOVCCr is tied to the "false" input using RegConstraint. > The register allocator puts the "false" value into the destination > register, then MOVCCr gets expanded to a predicated MOVr which moves the > "true" value into the destination register. > > -Eli > > -- > Employee of Qualcomm Innovation Center, Inc. > Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux > Foundation Collaborative Project > > -------------- nex...
2009 Jan 07
2
[LLVMdev] Possible bug in the ARM backend?
Hi Evan, Thanks for your feedback! 2009/1/7 Evan Cheng <evan.cheng at apple.com>: > > On Jan 7, 2009, at 2:48 AM, Roman Levenstein wrote: > > > As you can see, PrologEpilogInserter has inserted at the beginning > of the function some code for manipulation of the frame pointer and > this inserted code uses the LR register. > As far as I understand,
2012 Mar 30
1
[LLVMdev] load instruction memory operands value null
Hi,   For a custom target, there is a pass to perform memory dependence analysis, where, i need to get memory pointer for "load instruction". I want to check the pointer alias behavior. I am getting this by considering the memoperands for the load instruction.   For "load instruction", Machine Instruction dumps as below:   vr12<def> = LD_Iri %vr2<kill>, 0;
2016 Apr 27
4
Migration to vfs_fruit with existing AppleDouble files?
Thanks for the response! This would be really helpful because we use a lot of old adobe type 1 fonts that are 100% resource fork and are rendered unusable without the marshalled xattr's in addition to the AFP_ streams. While ideally having it seamlessly integrated into samba would be great, if it's easier to run a one-time conversion utility we can do that too. Thanks! -S On Wed, Apr