search for: matchinfo

Displaying 15 results from an estimated 15 matches for "matchinfo".

2018 Nov 30
2
[RFC] Tablegen-erated GlobalISel Combine Rules
...a from match to apply_ >> The main change in this section that hasn't already been discussed is that the result of extending_load_predicate has been moved to the new 'outs' section of GIMatchPredicate and the code expansion refers to a particular output of the predicate using 'matchinfo.B' similar to a struct member or multi-operand ComplexPatterns. >> def extending_load_matchdata : GIDefMatchData<"PreferredTuple">; >> def extending_load_predicate : GIMatchPredicate< >> bool, (ins reg:$A), (outs extending_load_matchdata:$B)...
2018 Nov 27
3
[RFC] Tablegen-erated GlobalISel Combine Rules
...trary data from match to apply The main change in this section that hasn't already been discussed is that the result of extending_load_predicate has been moved to the new 'outs' section of GIMatchPredicate and the code expansion refers to a particular output of the predicate using 'matchinfo.B' similar to a struct member or multi-operand ComplexPatterns. def extending_load_matchdata : GIDefMatchData<"PreferredTuple">; def extending_load_predicate : GIMatchPredicate< bool, (ins reg:$A), (outs extending_load_matchdata:$B), [{ return Helper.m...
2018 Nov 27
2
[RFC] Tablegen-erated GlobalISel Combine Rules
...$B):$NB, (G_ADD $t1, $A, $A), (G_ADD $D, $t1, $NB))>; // $D is needed because we wanted operand instead of reg. We could rewrite the predicate to take a reg though. def extending_loads : GICombineRule< (defs operand:$D, reg:$A, extending_load_matchdata:$matchinfo), (match (G_LOAD $D, $A), (extending_load_predicate operand:$A, extending_load_matchdata:$matchinfo)), (apply (exec [{ Helper.applyCombineExtendingLoads(${D}, ${matchinfo.B}); }], reg:$D, extending_load_matchdata:$ma...
2018 Nov 30
2
[RFC] Tablegen-erated GlobalISel Combine Rules
...>> (G_ADD $t1, $A, $A), >> (G_ADD $D, $t1, $NB))>; >> // $D is needed because we wanted operand instead of reg. We could rewrite the predicate to take a reg though. >> def extending_loads : GICombineRule< >> (defs operand:$D, reg:$A, extending_load_matchdata:$matchinfo), >> (match (G_LOAD $D, $A), >> (extending_load_predicate operand:$A, >> extending_load_matchdata:$matchinfo)), >> (apply (exec [{ Helper.applyCombineExtendingLoads(${D}, ${matchinfo.B}); }], >> reg:$D, extending_load_matchdata:$matchinfo)>; >> // I haven&...
2018 Nov 09
5
[RFC] Tablegen-erated GlobalISel Combine Rules
...into this tablegen syntax, we'd write: def extending_load_matchdata : GIDefMatchData<"PreferredTuple">; def extending_load_predicate : GIMatchPredicate< (ins reg:$A, extending_load_matchdata:$B), bool, [{ return Helper.matchCombineExtendingLoads(${A}, ${matchinfo}); }]>; def extending_loads : GICombineRule< (defs root:$root, reg:$A, extending_load_matchdata:$matchinfo), (match [{MIR %root = G_LOAD %A }], (extending_load_predicate root:$A, extending_load_matchdata:$matchinfo)),...
2018 Nov 10
3
[RFC] Tablegen-erated GlobalISel Combine Rules
...write: >> def extending_load_matchdata : GIDefMatchData<"PreferredTuple">; >> def extending_load_predicate : GIMatchPredicate< >> (ins reg:$A, extending_load_matchdata:$B), bool, [{ >> return Helper.matchCombineExtendingLoads(${A}, ${matchinfo}); > > I assume this was intended to be ${B} instead of ${matchinfo}? Yes, that's right. There's always at least one of these typos when I type emails about this :-). It looks like I forgot to rename one of them when I moved the code into a predicate definition. > I also think y...
2006 Feb 11
0
[Bug 447] New: iptables doesn't support multiple times the same match in one rule
...e (see bug #440). Now a rule like iptables -A INPUT -p tcp -m multiport --dport 45,47 -m multiport --sport 45:48 actually ends up as: 0 0 tcp -- * * 0.0.0.0/0 0.0.0.0/0 multiport sports multiport sports tcp spts:45:48 As you can see, the matchinfo computed by the last multiport match is 'copied' over the previous ones. IIRC, this is caused by the matchinfo being attached to the match plugin, rather to the instance of a match plugin. -- Configure bugmail: https://bugzilla.netfilter.org/bugzilla/userprefs.cgi?tab=email ------- You a...
2018 Nov 12
3
[RFC] Tablegen-erated GlobalISel Combine Rules
...: let ApplyCannotUseMatchedOperand = 1; I'd also be inclined to make it a warning for this to be unset if the result has a name. >>>> }]>; >>>> def extending_loads : GICombineRule< >>>> (defs root:$root, reg:$A, extending_load_matchdata:$matchinfo), >>>> (match [{MIR %root = G_LOAD %A }], >>>> (extending_load_predicate root:$A, >>>> extending_load_matchdata:$matchinfo)), >>>> (apply (exec [{ Helper.applyCombineExtendingLoads(${roo...
2019 Aug 07
2
Dead store elimination in the backend for -ftrivial-auto-var-init
There are two problems: 1. padding after union and call to q(), without LTO we can't remove that store. 2. shortcut which I have which ignores all instructions q() . this assume that memset to acpar.match, acpar.matchinfo also useful which is not true. I should be able to improve this case. On Thu, Aug 1, 2019 at 11:29 PM Vitaly Buka <vitalybuka at google.com> wrote: > On a first look case like this should nor be a problem. The tail of the > memset here is unused because it's replaced immediately w...
2003 May 31
0
[Bug 94] Limit match not working.
...y|major |normal Component|netfilter hooks |ip_tables (kernel) ------- Additional Comments From laforge@netfilter.org 2003-05-31 23:21 ------- Yes, this is a known issue. The reason is that the author of ipt_limit.c stores a pointer (master) inside the matchinfo structure. That pointer is 64bit in the kernel and 32bit in userspace, this is why the structure sizes differ and you receive an invalid argument error. This is not an excuse, I'm just trying to explain what's going on - maybe somebody else wants to pick this up and fix it. ------- You...
2003 May 31
1
[Bug 95] inverse limit match doesn't work
...31 23:25 ------- I can confirm this bug. neither libipt_limit.c nor ipt_limit.c contain any handling of inversion. Together with Bug #94, I think it's time to rewrite parts of the limit match in order to address those issues. I doubt this will be possible without any changes to the structure matchinfo size :( ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
2004 Dec 23
0
IPP2P 0.7 released
Hi, some minutes ago IPP2P 0.7 has been released. It offers a couple of new features including: -UDP filtering support for some P2P networks -improved SoulSeek filter -Ares/AresLite matching support -debug option to print matchinfo into kernel log Please consult the README and documentation found at http://www.ipp2p.org for information about changes and new features. You can download the source tarball there as well and please give me as much feedback as possible. Kind regards, Eicke -- IPP2P - P2P traffic detection for i...
2013 Apr 12
3
[Bug 814] rpfilter blocks broadcast packets
https://bugzilla.netfilter.org/show_bug.cgi?id=814 Florian Westphal <fw at strlen.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fw at strlen.de --- Comment #1 from Florian Westphal <fw at strlen.de> 2013-04-12 10:24:14 CEST --- (In reply
2004 Sep 04
4
masquerade and mac problem
Hello guys I don''t know if this thing has been posted before (if it was , please forgive me). I have 7 computers at home and I want all of them to have access to the internet. In order to do that , I set up a linux router (2 network cards) as a usual router (eth0 : 82.77.69.75 - internet connection ; eth1 : 192.168.10.1 - local network) . The other computers have ips ranging from
2019 Aug 01
2
Dead store elimination in the backend for -ftrivial-auto-var-init
On Thu, Aug 1, 2019 at 6:38 PM JF Bastien <jfbastien at apple.com> wrote: > > > > > On Aug 1, 2019, at 9:20 AM, Alexander Potapenko <glider at google.com> wrote: > > > > On Thu, Aug 1, 2019 at 6:09 PM JF Bastien <jfbastien at apple.com> wrote: > >> > >> Hi Alexander, > >> > >> The code doesn’t compile. Could you send