Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
panfrost-mesa
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Lyude Paul
panfrost-mesa
Commits
e8e78b9f
Commit
e8e78b9f
authored
Nov 16, 2018
by
Alyssa Rosenzweig
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
midgard: Assert out movement hacks
parent
ba5cdfb3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
src/gallium/drivers/panfrost/midgard/midgard_compile.c
src/gallium/drivers/panfrost/midgard/midgard_compile.c
+6
-1
No files found.
src/gallium/drivers/panfrost/midgard/midgard_compile.c
View file @
e8e78b9f
...
...
@@ -2464,6 +2464,9 @@ inline_alu_constants(compiler_context *ctx)
* instruction. Copy the new move into that.
* */
/* TODO INSERT */
assert
(
0
);
memcpy
(
alu
-
1
,
alu
-
2
,
sizeof
(
ins
));
memcpy
(
alu
-
2
,
&
ins
,
sizeof
(
ins
));
}
...
...
@@ -2699,6 +2702,8 @@ midgard_pair_load_store(compiler_context *ctx, midgard_block *block)
/* We found one! Move it up to pair and remove it from the old location */
/* TODO: MOVEMENT */
assert
(
0
);
memcpy
(
ins
+
1
,
c
,
sizeof
(
midgard_instruction
));
c
->
unused
=
true
;
...
...
@@ -2975,7 +2980,7 @@ emit_block(compiler_context *ctx, nir_block *block)
actualise_ssa_to_alias
(
ctx
);
midgard_eliminate_orphan_moves
(
ctx
,
&
this_block
);
midgard_pair_load_store
(
ctx
,
&
this_block
);
//
midgard_pair_load_store(ctx, &this_block);
#ifdef MIR_DEBUG
print_mir_block
(
&
this_block
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment