search for: valuecols

Displaying 16 results from an estimated 16 matches for "valuecols".

2012 Aug 17
2
[LLVMdev] TableGen related question for the Hexagon backend
...; // Instructions with the same predicate sense form a column. > let ColFields = ["PredSense"]; > > // The key column is the unpredicated instructions. > let KeyCol = ["nopred"]; > > // Value columns are predicate=true and predicate=false > let ValueCols = [["true"], ["false"]]; }; Can you please elaborate it more? It seems interesting but I coundn't understand it completely. Also, how do I get the table from the definition above? For the table, I need to know the name of the predicated-true and false instructions. > T...
2012 Aug 20
2
[LLVMdev] TableGen related question for the Hexagon backend
...is "" and Predsense can be either 'true' or 'false' let KeyCol = ["", "-"]; // Value Column has DotNewType= "new" and predsense same as KeyCol. // '-' is used to indicate the "PredSense" value to be same as KeyCol. let ValueCols = ["new", "-"]; } def ADDtrue_new { let BaseOpcode = "ADD"; let PredSense = "true"; let DotNewType = "new"; } This allows me to list all the attributes that must remain same between the Key column and the related instructions. Let me know w...
2012 Aug 17
0
[LLVMdev] TableGen related question for the Hexagon backend
...h the same predicate sense form a column. >> let ColFields = ["PredSense"]; >> >> // The key column is the unpredicated instructions. >> let KeyCol = ["nopred"]; >> >> // Value columns are predicate=true and predicate=false >> let ValueCols = [["true"], ["false"]]; }; > > Can you please elaborate it more? It seems interesting but I coundn't > understand it completely. > Also, how do I get the table from the definition above? For the table, I > need to know the name of the predicated-true and fa...
2012 Aug 20
2
[LLVMdev] TableGen related question for the Hexagon backend
...se can be either 'true' > or 'false' > let KeyCol = ["", "-"]; > > // Value Column has DotNewType= "new" and predsense same as KeyCol. > // '-' is used to indicate the "PredSense" value to be same as KeyCol. > let ValueCols = ["new", "-"]; > } > > def ADDtrue_new { > let BaseOpcode = "ADD"; > let PredSense = "true"; > let DotNewType = "new"; > } > > This allows me to list all the attributes that must remain same > between the Key col...
2012 Aug 21
0
[LLVMdev] TableGen related question for the Hexagon backend
Jakob, One more question. You had suggested 'ValueCols' as of type list<list<string> >. Does the TableGen know how to extract it? It appears to me that we may have to add support for that. Thanks, Jyotsna -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum. -----Original Message----- From: llvmdev-bounces at cs.uiuc....
2012 Aug 28
4
[LLVMdev] TableGen backend support to express relations between instruction
...sday, August 21, 2012 11:28 AM To: Jyotsna Verma Cc: llvmdev at cs.uiuc.edu Subject: Re: [LLVMdev] TableGen related question for the Hexagon backend On Aug 20, 2012, at 9:22 PM, Jyotsna Verma <jverma at codeaurora.org> wrote: > Jakob, > > One more question. You had suggested 'ValueCols' as of type > list<list<string> >. Does the TableGen know how to extract it? It > appears to me that we may have to add support for that. You just start from getValueAsListInit() and go from there. /jakob _______________________________________________ LLVM Developers ma...
2012 Aug 28
1
[LLVMdev] TableGen backend support to express relations between instruction
...ow. let RowFields = ["BaseOpcode"]; // Instructions with the same predicate sense form a column. let ColFields = ["PredSense"]; // The key column is the unpredicated instructions. let KeyCol = ["nopred"]; // Value columns are PredSense=true and PredSense=false let ValueCols = [["true"], ["false"]]; } Instructions need to set some fields in order for the TableGen to relate them using the information provided in 'getPredOpcode'. Def ADD: PredRel { let BaseOpcode = "ADD"; let PredSense = "nopred"; } Def ADD_pt: Pr...
2012 Aug 28
0
[LLVMdev] TableGen backend support to express relations between instruction
...c: llvmdev at cs.uiuc.edu > Subject: Re: [LLVMdev] TableGen related question for the Hexagon > backend > > > On Aug 20, 2012, at 9:22 PM, Jyotsna Verma <jverma at codeaurora.org> > wrote: > > > Jakob, > > > > One more question. You had suggested 'ValueCols' as of type > > list<list<string> >. Does the TableGen know how to extract it? It > > appears to me that we may have to add support for that. > > You just start from getValueAsListInit() and go from there. > > /jakob > > > _____________________...
2012 Aug 21
1
[LLVMdev] TableGen related question for the Hexagon backend
On Aug 20, 2012, at 9:22 PM, Jyotsna Verma <jverma at codeaurora.org> wrote: > Jakob, > > One more question. You had suggested 'ValueCols' as of type > list<list<string> >. Does the TableGen know how to extract it? It appears to > me that we may have to add support for that. You just start from getValueAsListInit() and go from there. /jakob
2012 Aug 20
0
[LLVMdev] TableGen related question for the Hexagon backend
...se can be either 'true' > or 'false' > let KeyCol = ["", "-"]; > > // Value Column has DotNewType= "new" and predsense same as KeyCol. > // '-' is used to indicate the "PredSense" value to be same as KeyCol. > let ValueCols = ["new", "-"]; > } > > def ADDtrue_new { > let BaseOpcode = "ADD"; > let PredSense = "true"; > let DotNewType = "new"; > } > > This allows me to list all the attributes that must remain same between the > Key col...
2012 Aug 17
0
[LLVMdev] TableGen related question for the Hexagon backend
...wFields = ["BaseOpcode"]; // Instructions with the same predicate sense form a column. let ColFields = ["PredSense"]; // The key column is the unpredicated instructions. let KeyCol = ["nopred"]; // Value columns are predicate=true and predicate=false let ValueCols = [["true"], ["false"]]; }; That should be enough to generate a table: // key , PredSense=true, PredSense=false { ADD , ADDtrue, ADDfalse, // BaseOpcode="ADD" { SUB , SUBtrue, SUBfalse, // BaseOpcode="SUB" … > 5) We need s...
2016 Nov 28
2
RFC: code size reduction in X86 by replacing EVEX with VEX encoding
Hal, that’s a good point. There are more manually-maintained tables in the X86 backend that should probably be tablegened: the memory-folding tables and ReplaceableInstrs, to name a couple. If you have ideas on how to get these auto-generated, please let us know. From: llvm-dev [mailto:llvm-dev-bounces at lists.llvm.org] On Behalf Of Hal Finkel via llvm-dev Sent: Wednesday, November 23, 2016
2012 Aug 31
0
[LLVMdev] TableGen backend support to express relations between instruction
...sday, August 21, 2012 11:28 AM To: Jyotsna Verma Cc: llvmdev at cs.uiuc.edu Subject: Re: [LLVMdev] TableGen related question for the Hexagon backend On Aug 20, 2012, at 9:22 PM, Jyotsna Verma <jverma at codeaurora.org> wrote: > Jakob, > > One more question. You had suggested 'ValueCols' as of type > list<list<string> >. Does the TableGen know how to extract it? It > appears to me that we may have to add support for that. You just start from getValueAsListInit() and go from there. /jakob _______________________________________________ LLVM Developers ma...
2012 Aug 16
2
[LLVMdev] TableGen related question for the Hexagon backend
Hi Everyone, After some more thoughts to the Jacob's suggestion of using multiclasses for Opcode mapping, this is what I have come up with. Please take a look at the design below and let me know if you have any suggestions/questions. I have tried to keep the design target independent so that other targets could benefit from it. 1) The idea is to add 3 new classes into
2009 Dec 11
2
Data
Hi all, Imagine I have a matrix and the first colum is a list that repeats the same names, I want to sum the second column on each unique name on first column. Imagine this: Pepe 2 Pepe 3 Pepe 4 Jose 2 Jose 5 Manuel 4 Manuel 2 I want to make a new matrix that calculates and recognizes that there are 3 different names ans sum second column. But a priori I don´t know the list of the different
2014 Nov 13
2
[LLVMdev] [RFC] TableGen help for relaxation
Hello LLVM, My target has a complex relaxation hierarchy. Perhaps a modest TableGen extension would help consolidate most of the work involved in choosing a relaxed opcode. I also notice the x86 relaxation code with a comment wondering if TableGen could improve life. Does the following outline sound interesting? 1) Add a new field of type 'Instruction' to the Instruction class called