Skip to content

AOT Android: Don't use integer division instructions. - #6714

Merged
rmacnak-google merged 1 commit into
flutter:masterfrom
rmacnak-google:pixel-no-idiv
Nov 4, 2016
Merged

rmacnak-google merged 1 commit into
flutter:masterfrom
rmacnak-google:pixel-no-idiv

Conversation

@rmacnak-google

Copy link
Copy Markdown
Contributor

@eseidelGoogle

Copy link
Copy Markdown
Contributor

Presumably there is no way for us to test this other than by having a physical pixel device?

@rmacnak-google

Copy link
Copy Markdown
Contributor Author

Unless we want to start creating device-specific binaries, AOT must use the lowest common denominator. Though for this particular case, it would also work to say one must use an ARM64 binary for the Pixel.

'--instructions_blob=$instructionsBlob',
'--embedder_entry_points_manifest=$vmEntryPointsAndroid',
'--no-sim-use-hardfp',
'--no-use-integer-division', // Not supported by the Pixel in 32-bit mode.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Currently this is already being done by gen_snapshot's main. But it seems prudent to disable it explicitly in case gen_snapshot's defaults change

@jason-simmons

Copy link
Copy Markdown
Member

LGTM

@rmacnak-google

Copy link
Copy Markdown
Contributor Author

Since we've actually already been doing this through gen_snapshot, it's quite likely this is necessary for other devices as well.

@rmacnak-google
rmacnak-google merged commit 34fdc44 into flutter:master Nov 4, 2016
@eseidelGoogle

Copy link
Copy Markdown
Contributor

We don't currently build ARM64 binaries for Android, but could start doing so.
#6715

@eseidelGoogle

Copy link
Copy Markdown
Contributor

Does this fix #6693?

@jason-simmons

Copy link
Copy Markdown
Member

#6693 will be fixed when we roll a Dart runtime with:
dart-lang/sdk@4d81fee

@rmacnak-google
rmacnak-google deleted the pixel-no-idiv branch March 29, 2017 16:52
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Aug 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants