{"action":"closed","issue":{"url":"https://api.github.com/repos/openframeworks/openFrameworks/issues/4567","labels_url":"https://api.github.com/repos/openframeworks/openFrameworks/issues/4567/labels{/name}","comments_url":"https://api.github.com/repos/openframeworks/openFrameworks/issues/4567/comments","events_url":"https://api.github.com/repos/openframeworks/openFrameworks/issues/4567/events","html_url":"https://github.com/openframeworks/openFrameworks/issues/4567","id":116494083,"number":4567,"title":"More optimal CFLAGS for Arm7?","user":{"login":"jvcleave","id":150037,"avatar_url":"https://avatars.githubusercontent.com/u/150037?v=3","gravatar_id":"","url":"https://api.github.com/users/jvcleave","html_url":"https://github.com/jvcleave","followers_url":"https://api.github.com/users/jvcleave/followers","following_url":"https://api.github.com/users/jvcleave/following{/other_user}","gists_url":"https://api.github.com/users/jvcleave/gists{/gist_id}","starred_url":"https://api.github.com/users/jvcleave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvcleave/subscriptions","organizations_url":"https://api.github.com/users/jvcleave/orgs","repos_url":"https://api.github.com/users/jvcleave/repos","events_url":"https://api.github.com/users/jvcleave/events{/privacy}","received_events_url":"https://api.github.com/users/jvcleave/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openframeworks/openFrameworks/labels/core","name":"core","color":"db6a1f"},{"url":"https://api.github.com/repos/openframeworks/openFrameworks/labels/feature","name":"feature","color":"622425"},{"url":"https://api.github.com/repos/openframeworks/openFrameworks/labels/linuxarm","name":"linuxarm","color":"bfe5bf"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-12T07:16:32Z","updated_at":"2015-12-29T18:57:50Z","closed_at":"2015-12-29T18:57:50Z","body":"In reading about incorporating NEON into an Arm7/RPI2 project I came across these options for CFLAGS\r\n\r\n```\r\n-mcpu=cortex-a7 -mfpu=neon-vfpv4\r\n```\r\nWe are currently using \r\n```\r\n-march=armv7-a -mfpu=vfp\r\n```\r\n\r\nI was able to compile and run an OF app with the newer flags. (You have to remove `march` in favor of `mcpu`)\r\n\r\nWould love to know a good test to compare. This post claimed a 32x speed up with an x264 library\r\nhttps://www.raspberrypi.org/forums/viewtopic.php?p=682887#p682887\r\n\r\nReference\r\nhttps://community.arm.com/groups/tools/blog/2013/04/15/arm-cortex-a-processors-and-gcc-command-lines\r\n\r\n\r\n\r\n"}}