Open
Conversation
Solve the log path problem on Windows
dungkkk7
pushed a commit
to dungkkk7/d810
that referenced
this pull request
Mar 2, 2026
Add compatibility extension imports and modify rules for the D810 microcode optimizer 🛠️ - Added import for d810._compat as _compat in multiple files to handle compatibility overrides 💻 - Modified decorators for abstract methods in instruction handlers to utilize new compatibility imports 💾 - Adjusted various pattern matching rules to ensure proper functionality with new overlays, enhancing instruction optimization capabilities 🧩 Files modified: - src/D810.py: Added import of _compat - src/d810/conf/__init__.py: N/A - src/d810/expr/ast.py: Added import of _compat - src/d810/optimizers/microcode/flow/flattening/generic.py: Added import of _compat - src/d810/optimizers/microcode/instructions/analysis/handler.py: Added import of _compat - src/d810/optimizers/microcode/instructions/chain/handler.py: Added import of _compat - src/d810/optimizers/microcode/instructions/early/handler.py: Added import of _compat - src/d810/optimizers/microcode/instructions/handler.py: Added import of _compat - src/d810/optimizers/microcode/instructions/pattern_matching/handler.py: Added import of _compat - src/d810/optimizers/microcode/instructions/peephole/handler.py: Added import of _compat - src/d810/optimizers/microcode/instructions/z3/handler.py: Added import of _compat - src/d810/registry.py: Adjusted various internal mechanics to leverage the compatibility extensions Why: - The use of _compat allows for streamlined compatibility changes and updates across different parts of the code without repetitive declarations. It will make future modifications more efficient and integrate better with various Python versions. Plus, it refines our structure for cleaner code. 🚀 ```
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Solve the log path problem on Windows