re: re: [AArch64][Spec2017]Question about mlow-precision-div optimization.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

> Could you try doing a bootstrap with that change and seeing if it still works for your use case?  If so, could you post the final patch?

The bootstrap test and regression dejagnu test has been done on an aarch64 Linux platform for the patch attached.
The regression test for gcc will have 4 extra expected passes automatically due to the newly added 2 parameters. No new regression witnessed.
Newly added test cases are: 
	PASS: gcc.dg/params/blocksort-part.c -O3 --param aarch64-double-recp-precision=1 (test for excess errors)
	PASS: gcc.dg/params/blocksort-part.c -O3 --param aarch64-double-recp-precision=5 (test for excess errors)
	PASS: gcc.dg/params/blocksort-part.c -O3 --param aarch64-float-recp-precision=1 (test for excess errors)
	PASS: gcc.dg/params/blocksort-part.c -O3 --param aarch64-float-recp-precision=5 (test for excess errors)

gcc/config/aarch64/:
+2020-03-12  Bu Le  <bule1@xxxxxxxxxx>
+
+       PR target/94154
+       * aarch64.c (aarch64_emit_approx_div): Add new parameters
+         Add two parameters to control the precision of the reciprocal division.
+
+       * aarch64.opt : Declare new parameters.     

gcc/doc:
+2020-03-12  Bu Le  <bule1@xxxxxxxxxx>
+
+       PR target/94154
+       * invoke.texi: New parameters added for reciprocal division precision.
+

please help commit this if it's OK to go

Thanks,
Bu Le

Attachment: div-param2.patch
Description: div-param2.patch


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux