mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2026-01-01 03:12:16 +08:00
Compare commits
7 Commits
8a99aea12b
...
274608ef0f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
274608ef0f | ||
|
|
8c900e4d15 | ||
|
|
e9cd5bd26b | ||
|
|
a13cb7b2fe | ||
|
|
4c2d6332a9 | ||
|
|
0cf79274ea | ||
|
|
ff1264a187 |
111
2d8652f3e7ba0427c2e72b086a787b96169e1466
Normal file
111
2d8652f3e7ba0427c2e72b086a787b96169e1466
Normal file
@ -0,0 +1,111 @@
|
|||||||
|
{
|
||||||
|
"comments": [
|
||||||
|
{
|
||||||
|
"unresolved": false,
|
||||||
|
"key": {
|
||||||
|
"uuid": "19071804_6b60816d",
|
||||||
|
"filename": "/PATCHSET_LEVEL",
|
||||||
|
"patchSetId": 4
|
||||||
|
},
|
||||||
|
"lineNbr": 0,
|
||||||
|
"author": {
|
||||||
|
"id": 1115898
|
||||||
|
},
|
||||||
|
"writtenOn": "2024-12-12T11:11:42Z",
|
||||||
|
"side": 1,
|
||||||
|
"message": "All caught up on reviews. I\u0027m on holidays for 2 weeks. If theres an important change, as Justin to review and land it",
|
||||||
|
"revId": "2d8652f3e7ba0427c2e72b086a787b96169e1466",
|
||||||
|
"serverId": "3ce6091f-6c88-37e8-8c75-72f92ae8dfba"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"unresolved": true,
|
||||||
|
"key": {
|
||||||
|
"uuid": "0bb4bf5c_de5342c0",
|
||||||
|
"filename": "source/row_sme.cc",
|
||||||
|
"patchSetId": 4
|
||||||
|
},
|
||||||
|
"lineNbr": 474,
|
||||||
|
"author": {
|
||||||
|
"id": 1115898
|
||||||
|
},
|
||||||
|
"writtenOn": "2024-12-12T11:11:42Z",
|
||||||
|
"side": 1,
|
||||||
|
"message": "could regular sve do the same performance for inner loop as neon, but support predicate for remainder to get a small win?",
|
||||||
|
"fixSuggestions": [
|
||||||
|
{
|
||||||
|
"fixId": "2da94437_81e45043",
|
||||||
|
"description": "prompt_to_edit API",
|
||||||
|
"replacements": [
|
||||||
|
{
|
||||||
|
"path": "source/row_sme.cc",
|
||||||
|
"range": {
|
||||||
|
"startLine": 473,
|
||||||
|
"startChar": 0,
|
||||||
|
"endLine": 512,
|
||||||
|
"endChar": 0
|
||||||
|
},
|
||||||
|
"replacement": ""
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"revId": "2d8652f3e7ba0427c2e72b086a787b96169e1466",
|
||||||
|
"serverId": "3ce6091f-6c88-37e8-8c75-72f92ae8dfba"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"unresolved": true,
|
||||||
|
"key": {
|
||||||
|
"uuid": "d8b5f72d_2bb0a37f",
|
||||||
|
"filename": "source/row_sme.cc",
|
||||||
|
"patchSetId": 4
|
||||||
|
},
|
||||||
|
"lineNbr": 488,
|
||||||
|
"author": {
|
||||||
|
"id": 1115898
|
||||||
|
},
|
||||||
|
"writtenOn": "2024-12-12T11:11:42Z",
|
||||||
|
"side": 1,
|
||||||
|
"message": "consider 2 vectors",
|
||||||
|
"fixSuggestions": [
|
||||||
|
{
|
||||||
|
"fixId": "99524abd_16ff1ed8",
|
||||||
|
"description": "prompt_to_edit API",
|
||||||
|
"replacements": [
|
||||||
|
{
|
||||||
|
"path": "source/row_sme.cc",
|
||||||
|
"range": {
|
||||||
|
"startLine": 474,
|
||||||
|
"startChar": 0,
|
||||||
|
"endLine": 477,
|
||||||
|
"endChar": 0
|
||||||
|
},
|
||||||
|
"replacement": "__arm_locally_streaming void CopyRow_16_SME(const uint16_t* src,\n uint16_t* dst,\n int width) {\n"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "source/row_sme.cc",
|
||||||
|
"range": {
|
||||||
|
"startLine": 479,
|
||||||
|
"startChar": 0,
|
||||||
|
"endLine": 479,
|
||||||
|
"endChar": 0
|
||||||
|
},
|
||||||
|
"replacement": " asm volatile(\n \"cnth %x[vl] \\n\"\n \"subs %w[width], %w[width], %w[vl] \\n\"\n \"b.lt 2f \\n\"\n\n // Run bulk of computation with an all-true predicate to avoid predicate\n // generation overhead.\n \"ptrue p0.h \\n\"\n \"1: \\n\"\n \"ld1h {z0.h}, p0/z, [%[src]] \\n\"\n \"incb %[src] \\n\"\n \"subs %w[width], %w[width], %w[vl] \\n\"\n \"st1h {z0.h}, p0, [%[dst]] \\n\"\n \"incb %[dst] \\n\"\n \"b.ge 1b \\n\"\n\n \"2: \\n\"\n \"adds %w[width], %w[width], %w[vl] \\n\"\n \"b.eq 99f \\n\"\n\n // Calculate a predicate for the final iteration to deal with the tail.\n \"whilelt p0.h, wzr, %w[width] \\n\"\n \"ld1h {z0.h}, p0/z, [%[src]] \\n\"\n \"st1h {z0.h}, p0, [%[dst]] \\n\"\n\n \"99: \\n\"\n : [src] \"+r\"(src), // %[src]\n [dst] \"+r\"(dst), // %[dst]\n [width] \"+r\"(width),// %[width]\n [vl] \"\u003d\u0026r\"(vl) // %[vl]\n :\n : \"memory\", \"cc\", \"z0\", \"p0\");\n}\n\n__arm_locally_streaming void CopyRow_8_SME(const uint8_t* src,\n uint8_t* dst,\n int width) {\n // Streaming-SVE only, no use of ZA tile.\n int vl;\n"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "source/row_sme.cc",
|
||||||
|
"range": {
|
||||||
|
"startLine": 505,
|
||||||
|
"startChar": 0,
|
||||||
|
"endLine": 509,
|
||||||
|
"endChar": 0
|
||||||
|
},
|
||||||
|
"replacement": " : [src] \"+r\"(src), // %[src]\n [dst] \"+r\"(dst), // %[dst]\n [width] \"+r\"(width),// %[width]\n [vl] \"\u003d\u0026r\"(vl) // %[vl]\n"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"revId": "2d8652f3e7ba0427c2e72b086a787b96169e1466",
|
||||||
|
"serverId": "3ce6091f-6c88-37e8-8c75-72f92ae8dfba"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
39
d5818026ec4bd861a5a8aba6d428c576ba2ba5f5
Normal file
39
d5818026ec4bd861a5a8aba6d428c576ba2ba5f5
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
{
|
||||||
|
"comments": [
|
||||||
|
{
|
||||||
|
"unresolved": false,
|
||||||
|
"key": {
|
||||||
|
"uuid": "6f23531a_fee498dc",
|
||||||
|
"filename": "/PATCHSET_LEVEL",
|
||||||
|
"patchSetId": 2
|
||||||
|
},
|
||||||
|
"lineNbr": 0,
|
||||||
|
"author": {
|
||||||
|
"id": 1115898
|
||||||
|
},
|
||||||
|
"writtenOn": "2024-12-12T07:45:57Z",
|
||||||
|
"side": 1,
|
||||||
|
"message": "ideally run sme benchmarks on apple m4 or equivalent.\nconsider doing LDP with int64 to achieve 128 bit load/store",
|
||||||
|
"revId": "d5818026ec4bd861a5a8aba6d428c576ba2ba5f5",
|
||||||
|
"serverId": "3ce6091f-6c88-37e8-8c75-72f92ae8dfba"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"unresolved": false,
|
||||||
|
"key": {
|
||||||
|
"uuid": "aae285fe_0f0426f4",
|
||||||
|
"filename": "/PATCHSET_LEVEL",
|
||||||
|
"patchSetId": 2
|
||||||
|
},
|
||||||
|
"lineNbr": 0,
|
||||||
|
"author": {
|
||||||
|
"id": 1571352
|
||||||
|
},
|
||||||
|
"writtenOn": "2024-12-12T10:58:31Z",
|
||||||
|
"side": 1,
|
||||||
|
"message": "SVE and the first version of SME do not have an LDP equivalent instruction. SVE 2.1 and SME 2 introduce multi-vector load/store instructions which are equivalent to LDP/STP however these would need additional compiler features to be enabled (-march\u003d...+sme2 rather than -march\u003d...+sme which we currently use).\n\nOf course if you can guarantee that the vector length is 128 bits then you can use the Neon LDP/STP instructions since they share the same vector length, but this is not portable so I would prefer to avoid hard-coding this anywhere.",
|
||||||
|
"parentUuid": "6f23531a_fee498dc",
|
||||||
|
"revId": "d5818026ec4bd861a5a8aba6d428c576ba2ba5f5",
|
||||||
|
"serverId": "3ce6091f-6c88-37e8-8c75-72f92ae8dfba"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
155
f855222902c6570dfb3dd0ec23c65dc55bc326c8
Normal file
155
f855222902c6570dfb3dd0ec23c65dc55bc326c8
Normal file
@ -0,0 +1,155 @@
|
|||||||
|
{
|
||||||
|
"comments": [
|
||||||
|
{
|
||||||
|
"unresolved": false,
|
||||||
|
"key": {
|
||||||
|
"uuid": "d7c4ab9b_462f39a0",
|
||||||
|
"filename": "/PATCHSET_LEVEL",
|
||||||
|
"patchSetId": 3
|
||||||
|
},
|
||||||
|
"lineNbr": 0,
|
||||||
|
"author": {
|
||||||
|
"id": 1571352
|
||||||
|
},
|
||||||
|
"writtenOn": "2024-12-12T10:58:31Z",
|
||||||
|
"side": 1,
|
||||||
|
"message": "(rebased)",
|
||||||
|
"revId": "f855222902c6570dfb3dd0ec23c65dc55bc326c8",
|
||||||
|
"serverId": "3ce6091f-6c88-37e8-8c75-72f92ae8dfba"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"submitRequirementResults": [
|
||||||
|
{
|
||||||
|
"submitRequirement": {
|
||||||
|
"name": "Code-Review",
|
||||||
|
"description": {
|
||||||
|
"value": "If the author is a libyuv committer, code review is required from one other committer. Otherwise, code review is required from two committers."
|
||||||
|
},
|
||||||
|
"applicabilityExpression": {},
|
||||||
|
"submittabilityExpression": {
|
||||||
|
"expressionString": "((uploaderin:cria/project-libyuv-committers AND label:Code-Review\u003dMAX,user\u003dnon_uploader) OR label:Code-Review\u003dMAX,count\u003e\u003d2) AND -label:Code-Review\u003dMIN"
|
||||||
|
},
|
||||||
|
"overrideExpression": {
|
||||||
|
"value": {
|
||||||
|
"expressionString": "label:Bot-Commit\u003d+1 AND -label:Code-Review\u003dMIN"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"allowOverrideInChildProjects": true
|
||||||
|
},
|
||||||
|
"applicabilityExpressionResult": {},
|
||||||
|
"submittabilityExpressionResult": {
|
||||||
|
"value": {"expression":{"expressionString":"((uploaderin:cria/project-libyuv-committers AND label:Code-Review=MAX,user=non_uploader) OR label:Code-Review=MAX,count>=2) AND -label:Code-Review=MIN"},"status":"PASS","errorMessage":{"value":null},"passingAtoms":["label:Code-Review=MAX,user=non_uploader","uploaderin:cria/project-libyuv-committers","label:Code-Review=MAX,count>=2"],"failingAtoms":["label:Code-Review=MIN"]}
|
||||||
|
},
|
||||||
|
"overrideExpressionResult": {
|
||||||
|
"value": {"expression":{"expressionString":"label:Bot-Commit=+1 AND -label:Code-Review=MIN"},"status":"FAIL","errorMessage":{"value":null},"passingAtoms":[],"failingAtoms":["label:Bot-Commit=+1","label:Code-Review=MIN"]}
|
||||||
|
},
|
||||||
|
"patchSetCommitId": "f855222902c6570dfb3dd0ec23c65dc55bc326c8",
|
||||||
|
"legacy": {
|
||||||
|
"value": false
|
||||||
|
},
|
||||||
|
"forced": {},
|
||||||
|
"hidden": {}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"submitRequirement": {
|
||||||
|
"name": "No-Unresolved-Comments",
|
||||||
|
"description": {
|
||||||
|
"value": "Changes that have unresolved comments are not submittable. Unless overridden with Unresolved-Comment-Reason: \u003creason\u003e line in change message."
|
||||||
|
},
|
||||||
|
"applicabilityExpression": {
|
||||||
|
"value": {
|
||||||
|
"expressionString": "has:unresolved"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"submittabilityExpression": {
|
||||||
|
"expressionString": "-has:unresolved"
|
||||||
|
},
|
||||||
|
"overrideExpression": {
|
||||||
|
"value": {
|
||||||
|
"expressionString": "message:\"^.*Unresolved-Comment-Reason:.*\""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"allowOverrideInChildProjects": false
|
||||||
|
},
|
||||||
|
"applicabilityExpressionResult": {
|
||||||
|
"value": {"expression":{"expressionString":"has:unresolved"},"status":"FAIL","errorMessage":{"value":null},"passingAtoms":[],"failingAtoms":["has:unresolved"]}
|
||||||
|
},
|
||||||
|
"submittabilityExpressionResult": {
|
||||||
|
"value": {"expression":{"expressionString":"-has:unresolved"},"status":"NOT_EVALUATED","errorMessage":{"value":null},"passingAtoms":[],"failingAtoms":[]}
|
||||||
|
},
|
||||||
|
"overrideExpressionResult": {
|
||||||
|
"value": {"expression":{"expressionString":"message:\"^.*Unresolved-Comment-Reason:.*\""},"status":"NOT_EVALUATED","errorMessage":{"value":null},"passingAtoms":[],"failingAtoms":[]}
|
||||||
|
},
|
||||||
|
"patchSetCommitId": "f855222902c6570dfb3dd0ec23c65dc55bc326c8",
|
||||||
|
"legacy": {
|
||||||
|
"value": false
|
||||||
|
},
|
||||||
|
"forced": {},
|
||||||
|
"hidden": {}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"submitRequirement": {
|
||||||
|
"name": "Review-Enforcement",
|
||||||
|
"description": {
|
||||||
|
"value": "Two Google employees must approve the change. Uploading the change or voting positively on Code-Review count as approval. Using a trusted device is required, see go/gerrit-onboarding#review-enforcement."
|
||||||
|
},
|
||||||
|
"applicabilityExpression": {
|
||||||
|
"value": {
|
||||||
|
"expressionString": "is:review-enforced_gerrit"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"submittabilityExpression": {
|
||||||
|
"expressionString": "is:review-enforcement-satisfied_gerrit"
|
||||||
|
},
|
||||||
|
"overrideExpression": {},
|
||||||
|
"allowOverrideInChildProjects": false
|
||||||
|
},
|
||||||
|
"applicabilityExpressionResult": {
|
||||||
|
"value": {"expression":{"expressionString":"is:review-enforced_gerrit"},"status":"PASS","errorMessage":{"value":null},"passingAtoms":["is:review-enforced_gerrit"],"failingAtoms":[]}
|
||||||
|
},
|
||||||
|
"submittabilityExpressionResult": {
|
||||||
|
"value": {"expression":{"expressionString":"is:review-enforced_gerrit"},"status":"PASS","errorMessage":{"value":null},"passingAtoms":[],"failingAtoms":["is:review-enforcement-satisfied_gerrit"]}
|
||||||
|
},
|
||||||
|
"overrideExpressionResult": {},
|
||||||
|
"patchSetCommitId": "f855222902c6570dfb3dd0ec23c65dc55bc326c8",
|
||||||
|
"legacy": {
|
||||||
|
"value": false
|
||||||
|
},
|
||||||
|
"forced": {},
|
||||||
|
"hidden": {
|
||||||
|
"value": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"submitRequirement": {
|
||||||
|
"name": "Verified",
|
||||||
|
"description": {
|
||||||
|
"value": "Submit requirement for the \u0027Verified\u0027 label"
|
||||||
|
},
|
||||||
|
"applicabilityExpression": {
|
||||||
|
"value": {
|
||||||
|
"expressionString": "is:false"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"submittabilityExpression": {
|
||||||
|
"expressionString": "is:true"
|
||||||
|
},
|
||||||
|
"overrideExpression": {},
|
||||||
|
"allowOverrideInChildProjects": true
|
||||||
|
},
|
||||||
|
"applicabilityExpressionResult": {
|
||||||
|
"value": {"expression":{"expressionString":"is:false"},"status":"FAIL","errorMessage":{"value":null},"passingAtoms":[],"failingAtoms":["is:false"]}
|
||||||
|
},
|
||||||
|
"submittabilityExpressionResult": {
|
||||||
|
"value": {"expression":{"expressionString":"is:true"},"status":"NOT_EVALUATED","errorMessage":{"value":null},"passingAtoms":[],"failingAtoms":[]}
|
||||||
|
},
|
||||||
|
"overrideExpressionResult": {},
|
||||||
|
"patchSetCommitId": "f855222902c6570dfb3dd0ec23c65dc55bc326c8",
|
||||||
|
"legacy": {
|
||||||
|
"value": false
|
||||||
|
},
|
||||||
|
"forced": {},
|
||||||
|
"hidden": {}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user