annotate run/o/opDiv_13_C2.d @ 1630:d0efa3ae5522 default tip

run/mini/naked_asm5: New x86_64 ABI passes the arguments in reverse order.
author David Nadlinger <code@klickverbot.at>
date Sat, 23 Apr 2011 22:57:32 +0200
parents b8c0195059d9
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
856
7b2c5a101190 meta data maintenance
thomask
parents: 771
diff changeset
1 // $HeadURL$
7b2c5a101190 meta data maintenance
thomask
parents: 771
diff changeset
2 // $Date$
7b2c5a101190 meta data maintenance
thomask
parents: 771
diff changeset
3 // $Author$
771
a2e5dd18d87f Deewiant <deewiant.doesnotlike.spam@gmail.com>
thomask
parents:
diff changeset
4
a2e5dd18d87f Deewiant <deewiant.doesnotlike.spam@gmail.com>
thomask
parents:
diff changeset
5 // @author@ Deewiant <deewiant.doesnotlike.spam@gmail.com>
a2e5dd18d87f Deewiant <deewiant.doesnotlike.spam@gmail.com>
thomask
parents:
diff changeset
6 // @date@ 2005-12-06
1489
b8c0195059d9 changed nntp: URLs to http: URLs
thomask
parents: 856
diff changeset
7 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=5771
771
a2e5dd18d87f Deewiant <deewiant.doesnotlike.spam@gmail.com>
thomask
parents:
diff changeset
8
a2e5dd18d87f Deewiant <deewiant.doesnotlike.spam@gmail.com>
thomask
parents:
diff changeset
9 module dstress.run.o.opDiv_13_C2;
a2e5dd18d87f Deewiant <deewiant.doesnotlike.spam@gmail.com>
thomask
parents:
diff changeset
10
a2e5dd18d87f Deewiant <deewiant.doesnotlike.spam@gmail.com>
thomask
parents:
diff changeset
11 int main() {
a2e5dd18d87f Deewiant <deewiant.doesnotlike.spam@gmail.com>
thomask
parents:
diff changeset
12 int a = 1_000_000_000;
a2e5dd18d87f Deewiant <deewiant.doesnotlike.spam@gmail.com>
thomask
parents:
diff changeset
13 int b = 100_000_000;
a2e5dd18d87f Deewiant <deewiant.doesnotlike.spam@gmail.com>
thomask
parents:
diff changeset
14
a2e5dd18d87f Deewiant <deewiant.doesnotlike.spam@gmail.com>
thomask
parents:
diff changeset
15 assert(a / b == 10);
a2e5dd18d87f Deewiant <deewiant.doesnotlike.spam@gmail.com>
thomask
parents:
diff changeset
16
a2e5dd18d87f Deewiant <deewiant.doesnotlike.spam@gmail.com>
thomask
parents:
diff changeset
17 return 0;
a2e5dd18d87f Deewiant <deewiant.doesnotlike.spam@gmail.com>
thomask
parents:
diff changeset
18 }
a2e5dd18d87f Deewiant <deewiant.doesnotlike.spam@gmail.com>
thomask
parents:
diff changeset
19