{"action":"created","issue":{"url":"https://api.github.com/repos/riscv/riscv-tools/issues/183","repository_url":"https://api.github.com/repos/riscv/riscv-tools","labels_url":"https://api.github.com/repos/riscv/riscv-tools/issues/183/labels{/name}","comments_url":"https://api.github.com/repos/riscv/riscv-tools/issues/183/comments","events_url":"https://api.github.com/repos/riscv/riscv-tools/issues/183/events","html_url":"https://github.com/riscv/riscv-tools/issues/183","id":305465484,"number":183,"title":"SPIKE does not generate illegal instruction exception for c.sxxi instructions encoded with zero shift amount","user":{"login":"deepsrc","id":2525384,"avatar_url":"https://avatars0.githubusercontent.com/u/2525384?v=4","gravatar_id":"","url":"https://api.github.com/users/deepsrc","html_url":"https://github.com/deepsrc","followers_url":"https://api.github.com/users/deepsrc/followers","following_url":"https://api.github.com/users/deepsrc/following{/other_user}","gists_url":"https://api.github.com/users/deepsrc/gists{/gist_id}","starred_url":"https://api.github.com/users/deepsrc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deepsrc/subscriptions","organizations_url":"https://api.github.com/users/deepsrc/orgs","repos_url":"https://api.github.com/users/deepsrc/repos","events_url":"https://api.github.com/users/deepsrc/events{/privacy}","received_events_url":"https://api.github.com/users/deepsrc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-15T09:03:18Z","updated_at":"2018-03-16T08:25:48Z","closed_at":null,"author_association":"NONE","body":"One of our directed tests is failing on SPIKE. It is not detecting the half-word 0x8601 (i.e. c.srai encoded with zero shift amount) as an illegal instruction. According to the RISC-V spec, shift amount of 0 is illegal for c.slli, c.srai and c.srli instructions in RV32C.\r\n\r\nThe same test when executed on PULPino runs alright.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/riscv/riscv-tools/issues/comments/373638968","html_url":"https://github.com/riscv/riscv-tools/issues/183#issuecomment-373638968","issue_url":"https://api.github.com/repos/riscv/riscv-tools/issues/183","id":373638968,"user":{"login":"deepsrc","id":2525384,"avatar_url":"https://avatars0.githubusercontent.com/u/2525384?v=4","gravatar_id":"","url":"https://api.github.com/users/deepsrc","html_url":"https://github.com/deepsrc","followers_url":"https://api.github.com/users/deepsrc/followers","following_url":"https://api.github.com/users/deepsrc/following{/other_user}","gists_url":"https://api.github.com/users/deepsrc/gists{/gist_id}","starred_url":"https://api.github.com/users/deepsrc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deepsrc/subscriptions","organizations_url":"https://api.github.com/users/deepsrc/orgs","repos_url":"https://api.github.com/users/deepsrc/repos","events_url":"https://api.github.com/users/deepsrc/events{/privacy}","received_events_url":"https://api.github.com/users/deepsrc/received_events","type":"User","site_admin":false},"created_at":"2018-03-16T08:25:48Z","updated_at":"2018-03-16T08:25:48Z","author_association":"NONE","body":"Just submitted a pull request. I have tested the changes. They are working fine now."}}
{"actor":{"display_login":"deepsrc"}}