{"action":"created","issue":{"url":"https://api.github.com/repos/boostorg/endian/issues/22","repository_url":"https://api.github.com/repos/boostorg/endian","labels_url":"https://api.github.com/repos/boostorg/endian/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/boostorg/endian/issues/22/comments","events_url":"https://api.github.com/repos/boostorg/endian/issues/22/events","html_url":"https://github.com/boostorg/endian/pull/22","id":271187200,"number":22,"title":"remove unaligned loads and stores on x86","user":{"login":"arvidn","id":661450,"avatar_url":"https://avatars0.githubusercontent.com/u/661450?v=4","gravatar_id":"","url":"https://api.github.com/users/arvidn","html_url":"https://github.com/arvidn","followers_url":"https://api.github.com/users/arvidn/followers","following_url":"https://api.github.com/users/arvidn/following{/other_user}","gists_url":"https://api.github.com/users/arvidn/gists{/gist_id}","starred_url":"https://api.github.com/users/arvidn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arvidn/subscriptions","organizations_url":"https://api.github.com/users/arvidn/orgs","repos_url":"https://api.github.com/users/arvidn/repos","events_url":"https://api.github.com/users/arvidn/events{/privacy}","received_events_url":"https://api.github.com/users/arvidn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-11-04T12:04:21Z","updated_at":"2017-12-21T16:00:18Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/boostorg/endian/pulls/22","html_url":"https://github.com/boostorg/endian/pull/22","diff_url":"https://github.com/boostorg/endian/pull/22.diff","patch_url":"https://github.com/boostorg/endian/pull/22.patch"},"body":"It invokes undefined behavior regardless of the compiler back-end. more details in #21 "},"comment":{"url":"https://api.github.com/repos/boostorg/endian/issues/comments/353387620","html_url":"https://github.com/boostorg/endian/pull/22#issuecomment-353387620","issue_url":"https://api.github.com/repos/boostorg/endian/issues/22","id":353387620,"user":{"login":"pdimov","id":3116174,"avatar_url":"https://avatars0.githubusercontent.com/u/3116174?v=4","gravatar_id":"","url":"https://api.github.com/users/pdimov","html_url":"https://github.com/pdimov","followers_url":"https://api.github.com/users/pdimov/followers","following_url":"https://api.github.com/users/pdimov/following{/other_user}","gists_url":"https://api.github.com/users/pdimov/gists{/gist_id}","starred_url":"https://api.github.com/users/pdimov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdimov/subscriptions","organizations_url":"https://api.github.com/users/pdimov/orgs","repos_url":"https://api.github.com/users/pdimov/repos","events_url":"https://api.github.com/users/pdimov/events{/privacy}","received_events_url":"https://api.github.com/users/pdimov/received_events","type":"User","site_admin":false},"created_at":"2017-12-21T16:00:18Z","updated_at":"2017-12-21T16:00:18Z","author_association":"CONTRIBUTOR","body":"As tested on godbolt, all x86 compilers (a) benefit significantly from the special case and (b) generate the same code with the current one and with `memcpy`.\r\n\r\nARM however generates a function call to `memcpy` so I'm not sure that the special case should be applied there.\r\n\r\nLooks like the safest choice is to keep the current #ifdefs and just replace the cast inside with `memcpy`."}}
{"actor":{"display_login":"pdimov"}}