{"action":"created","issue":{"url":"https://api.github.com/repos/mn416/QPULib/issues/43","repository_url":"https://api.github.com/repos/mn416/QPULib","labels_url":"https://api.github.com/repos/mn416/QPULib/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/mn416/QPULib/issues/43/comments","events_url":"https://api.github.com/repos/mn416/QPULib/issues/43/events","html_url":"https://github.com/mn416/QPULib/issues/43","id":337318216,"node_id":"MDU6SXNzdWUzMzczMTgyMTY=","number":43,"title":"Question: how to transfer values on the regfiles for Special Function Unit","user":{"login":"wimrijnders","id":769037,"node_id":"MDQ6VXNlcjc2OTAzNw==","avatar_url":"https://avatars1.githubusercontent.com/u/769037?v=4","gravatar_id":"","url":"https://api.github.com/users/wimrijnders","html_url":"https://github.com/wimrijnders","followers_url":"https://api.github.com/users/wimrijnders/followers","following_url":"https://api.github.com/users/wimrijnders/following{/other_user}","gists_url":"https://api.github.com/users/wimrijnders/gists{/gist_id}","starred_url":"https://api.github.com/users/wimrijnders/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wimrijnders/subscriptions","organizations_url":"https://api.github.com/users/wimrijnders/orgs","repos_url":"https://api.github.com/users/wimrijnders/repos","events_url":"https://api.github.com/users/wimrijnders/events{/privacy}","received_events_url":"https://api.github.com/users/wimrijnders/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2018-07-01T20:08:09Z","updated_at":"2018-07-05T17:47:58Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Usage of the Special Function Unit (SFU) is something I would really like to add to `QPULib`.\r\n\r\nPage 23 of th `VideoCore` Reference tells you how to do it:\r\n\r\n- Load a given location (e.g. `SFU_RECIPSQRT`) in the A/B regfile space\r\n- Don't read special register `r4` for two cycles\r\n- Read result from register `r4`\r\n\r\nThis is simple in principle, but I would like to know the opcodes/commands to move values between different addresses in the regfiles. Would you mind explaining this to me?\r\n\r\nThe rest I think I can figure out using the `QPULib` DSL.\r\n\r\n----\r\n\r\nI have to say I'm a bit underwhelmed by the SFU. It appears to deal with one value at a time (as opposed to the regular blocks of 16) and on top of that there is the two-cycle wait. Still, I hope it is of some value."},"comment":{"url":"https://api.github.com/repos/mn416/QPULib/issues/comments/402801748","html_url":"https://github.com/mn416/QPULib/issues/43#issuecomment-402801748","issue_url":"https://api.github.com/repos/mn416/QPULib/issues/43","id":402801748,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMjgwMTc0OA==","user":{"login":"wimrijnders","id":769037,"node_id":"MDQ6VXNlcjc2OTAzNw==","avatar_url":"https://avatars1.githubusercontent.com/u/769037?v=4","gravatar_id":"","url":"https://api.github.com/users/wimrijnders","html_url":"https://github.com/wimrijnders","followers_url":"https://api.github.com/users/wimrijnders/followers","following_url":"https://api.github.com/users/wimrijnders/following{/other_user}","gists_url":"https://api.github.com/users/wimrijnders/gists{/gist_id}","starred_url":"https://api.github.com/users/wimrijnders/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wimrijnders/subscriptions","organizations_url":"https://api.github.com/users/wimrijnders/orgs","repos_url":"https://api.github.com/users/wimrijnders/repos","events_url":"https://api.github.com/users/wimrijnders/events{/privacy}","received_events_url":"https://api.github.com/users/wimrijnders/received_events","type":"User","site_admin":false},"created_at":"2018-07-05T17:47:58Z","updated_at":"2018-07-05T17:47:58Z","author_association":"CONTRIBUTOR","body":"Is it OK to expand `RegisterMap` and `detectPlatform`? This won't touch any of the existing library code."}}
{"actor":{"display_login":"wimrijnders"}}