It is possible to first write the value to a register and then use a
magic-instruction to inform ruby to look at that register. Take a look
at ruby_watch() in $GEMS/microbenchmarks/transactional/common/transaction.c
Jayaram
Carole-Jean Wu wrote:
Hello,
Does anyone know how to pass in dynamic data values (e.g. addresses
that are determined at run-time) to ruby? From my understanding,
magic-instructions don't help in this case. (Please correct me if I am
wrong.)
Thanks,
Carole
------------------------------------------------------------------------
_______________________________________________
Gems-users mailing list
Gems-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/gems-users
Use Google to search the GEMS Users mailing list by adding "site:https://lists.cs.wisc.edu/archive/gems-users/" to your search.
_______________________________________________
Gems-users mailing list
Gems-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/gems-users
Use Google to search the GEMS Users mailing list by adding "site:https://lists.cs.wisc.edu/archive/gems-users/" to your search.