libera/#sbcl - IRC Chatlog
Search
21:19:30
resttime
stassats: Oh I think I'm starting to understand, so in the generator I'll need to store the result like so (inst mov r <RESULT>). What does 'destroying an input register' mean? I guess my understanding of assembly isn't the strongest. The way I'm interpreting the define-vop is that the args are respectively stored in a random input register referred to as x and random input register referred to as y.
21:19:33
resttime
Then (move r y) (inst add r x) should do the behaviour I'm expecting to simply add the two integers. I'm finding again though that the funcall gives a different result tan the other two.
21:30:37
resttime
Oh wait I think I've figured it out the definition of fast-fixnum-binop that my add-vop is inheriting from states the result register r is :FROM (:ARGUMENT 0)
2:04:50
resttime
Does the acronym TN defined as Temporary Name in the source code? I've tried looking for a comment/documentation but haven't been able to find a direct definition whereas I understand SC to be Storage Class
2:11:43
resttime
Where can I find this TLA file? I've tried grepping for 'temporary name' and've only found one reference in sbcl/src/compiler/meta-vmdef.lisp