[task] STCompiler

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[task] STCompiler

MrGwen
Issue status update for
http://smalltalk.gnu.org/node/640
Post a follow up:
http://smalltalk.gnu.org/project/comments/add/640

 Project:      GNU Smalltalk
 Version:      <none>
 Component:    STInST
 Category:     tasks
 Priority:     normal
 Assigned to:  Unassigned
 Reported by:  MrGwen
 Updated by:   MrGwen
 Status:       active

Here is a patch that inline to:do: and timesRepeat messages.
For the to:do: I've changed STSymbol and add kind of shadow
temporaries,
thus the lookup is a bit changed.

I've tested the code, but hope you can give me feeds back!

Cheers,
Gwen



_______________________________________________
help-smalltalk mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: [task] STCompiler

MrGwen
Issue status update for
http://smalltalk.gnu.org/project/issue/640
Post a follow up:
http://smalltalk.gnu.org/project/comments/add/640

 Project:      GNU Smalltalk
 Version:      <none>
 Component:    STInST
 Category:     tasks
 Priority:     normal
 Assigned to:  Unassigned
 Reported by:  MrGwen
 Updated by:   MrGwen
 Status:       active
 Attachment:   http://smalltalk.gnu.org/files/issues/compilerInlining.patch (9.1 KB)

The patch



_______________________________________________
help-smalltalk mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: [feature] STCompiler optimization for loops

Paolo Bonzini-3
In reply to this post by MrGwen
Issue status update for
http://smalltalk.gnu.org/project/issue/640
Post a follow up:
http://smalltalk.gnu.org/project/comments/add/640

 Project:      GNU Smalltalk
 Version:      <none>
 Component:    STInST
-Category:     tasks
+Category:     feature requests
 Priority:     normal
 Assigned to:  Unassigned
 Reported by:  MrGwen
 Updated by:   bonzinip
 Status:       active

The jump sizes look incorrect.  The step can take more than two bytes,
and so can the final backwards jump.  See libgst/comp.c's
compile_to_by_do and compile_times_repeat for how to do it.



_______________________________________________
help-smalltalk mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: [feature] STCompiler optimization for loops

MrGwen
In reply to this post by MrGwen
Issue status update for
http://smalltalk.gnu.org/project/issue/640
Post a follow up:
http://smalltalk.gnu.org/project/comments/add/640

 Project:      GNU Smalltalk
 Version:      <none>
 Component:    STInST
 Category:     feature requests
 Priority:     normal
 Assigned to:  Unassigned
 Reported by:  MrGwen
 Updated by:   MrGwen
 Status:       active
 Attachment:   http://smalltalk.gnu.org/files/issues/compilerInlining2.patch (9.91 KB)

Thanks, in the new version I use #displacementsToJumpAround:and:



_______________________________________________
help-smalltalk mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-smalltalk