Linux-m68k Archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Greg Ungerer <gerg@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev, linux-m68k@lists.linux-m68k.org,
	uclinux-dev@uclinux.org
Subject: [gerg-m68knommu:cf 3/3] lib/crypto/mpi/longlong.h:534: warning: "umul_ppmm" redefined
Date: Thu, 2 Nov 2023 18:56:28 +0800	[thread overview]
Message-ID: <202311021826.pC3SLHbU-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu.git cf
head:   046fd54f263ce0782ba2b56e0a514a1eeceff350
commit: 046fd54f263ce0782ba2b56e0a514a1eeceff350 [3/3] m68k: use kernel's generic muldi3 libgcc function
config: m68k-allyesconfig (https://download.01.org/0day-ci/archive/20231102/202311021826.pC3SLHbU-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231102/202311021826.pC3SLHbU-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202311021826.pC3SLHbU-lkp@intel.com/

All warnings (new ones prefixed by >>):

   In file included from lib/crypto/mpi/generic_mpih-mul1.c:17:
>> lib/crypto/mpi/longlong.h:534: warning: "umul_ppmm" redefined
     534 | #define umul_ppmm(w1, w0, u, v) \
         | 
   In file included from include/linux/compiler_types.h:167,
                    from <command-line>:
   arch/m68k/include/asm/compiler.h:13: note: this is the location of the previous definition
      13 | #define umul_ppmm(w1, w0, u, v)                         \
         | 


vim +/umul_ppmm +534 lib/crypto/mpi/longlong.h

5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  510  
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  511  /***************************************
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  512  	**************  68000	****************
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  513  	***************************************/
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  514  #if (defined(__mc68000__) || defined(__mc68020__) || defined(__NeXT__) || defined(mc68020)) && W_TYPE_SIZE == 32
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  515  #define add_ssaaaa(sh, sl, ah, al, bh, bl) \
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  516  	__asm__ ("add%.l %5,%1\n" \
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  517  	   "addx%.l %3,%0" \
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  518  	: "=d" ((USItype)(sh)), \
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  519  	     "=&d" ((USItype)(sl)) \
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  520  	: "%0" ((USItype)(ah)), \
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  521  	     "d" ((USItype)(bh)), \
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  522  	     "%1" ((USItype)(al)), \
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  523  	     "g" ((USItype)(bl)))
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  524  #define sub_ddmmss(sh, sl, ah, al, bh, bl) \
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  525  	__asm__ ("sub%.l %5,%1\n" \
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  526  	   "subx%.l %3,%0" \
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  527  	: "=d" ((USItype)(sh)), \
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  528  	     "=&d" ((USItype)(sl)) \
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  529  	: "0" ((USItype)(ah)), \
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  530  	     "d" ((USItype)(bh)), \
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  531  	     "1" ((USItype)(al)), \
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  532  	     "g" ((USItype)(bl)))
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  533  #if (defined(__mc68020__) || defined(__NeXT__) || defined(mc68020))
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31 @534  #define umul_ppmm(w1, w0, u, v) \
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  535  	__asm__ ("mulu%.l %3,%1:%0" \
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  536  	: "=d" ((USItype)(w0)), \
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  537  	     "=d" ((USItype)(w1)) \
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  538  	: "%0" ((USItype)(u)), \
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  539  	     "dmi" ((USItype)(v)))
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  540  #define UMUL_TIME 45
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  541  #define udiv_qrnnd(q, r, n1, n0, d) \
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  542  	__asm__ ("divu%.l %4,%1:%0" \
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  543  	: "=d" ((USItype)(q)), \
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  544  	     "=d" ((USItype)(r)) \
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  545  	: "0" ((USItype)(n0)), \
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  546  	     "1" ((USItype)(n1)), \
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  547  	     "dmi" ((USItype)(d)))
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  548  #define UDIV_TIME 90
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  549  #define sdiv_qrnnd(q, r, n1, n0, d) \
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  550  	__asm__ ("divs%.l %4,%1:%0" \
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  551  	: "=d" ((USItype)(q)), \
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  552  	     "=d" ((USItype)(r)) \
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  553  	: "0" ((USItype)(n0)), \
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  554  	     "1" ((USItype)(n1)), \
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  555  	     "dmi" ((USItype)(d)))
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  556  #else /* not mc68020 */
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  557  #define umul_ppmm(xh, xl, a, b) \
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  558  do { USItype __umul_tmp1, __umul_tmp2; \
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  559  	__asm__ ("| Inlined umul_ppmm\n" \
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  560  	"move%.l %5,%3\n" \
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  561  	"move%.l %2,%0\n" \
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  562  	"move%.w %3,%1\n" \
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  563  	"swap	%3\n" \
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  564  	"swap	%0\n" \
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  565  	"mulu	%2,%1\n" \
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  566  	"mulu	%3,%0\n" \
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  567  	"mulu	%2,%3\n" \
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  568  	"swap	%2\n" \
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  569  	"mulu	%5,%2\n" \
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  570  	"add%.l	%3,%2\n" \
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  571  	"jcc	1f\n" \
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  572  	"add%.l	%#0x10000,%0\n" \
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  573  	"1:	move%.l %2,%3\n" \
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  574  	"clr%.w	%2\n" \
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  575  	"swap	%2\n" \
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  576  	"swap	%3\n" \
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  577  	"clr%.w	%3\n" \
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  578  	"add%.l	%3,%1\n" \
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  579  	"addx%.l %2,%0\n" \
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  580  	"| End inlined umul_ppmm" \
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  581  	: "=&d" ((USItype)(xh)), "=&d" ((USItype)(xl)), \
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  582  		"=d" (__umul_tmp1), "=&d" (__umul_tmp2) \
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  583  	: "%2" ((USItype)(a)), "d" ((USItype)(b))); \
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  584  } while (0)
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  585  #define UMUL_TIME 100
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  586  #define UDIV_TIME 400
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  587  #endif /* not mc68020 */
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  588  #endif /* mc68000 */
5ce3e312ec5c11 lib/mpi/longlong.h Dmitry Kasatkin 2011-08-31  589  

:::::: The code at line 534 was first introduced by commit
:::::: 5ce3e312ec5c11abce13215be70700778bf601f0 crypto: GnuPG based MPI lib - header files (part 2)

:::::: TO: Dmitry Kasatkin <dmitry.kasatkin@intel.com>
:::::: CC: Dmitry Kasatkin <dmitry.kasatkin@intel.com>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

                 reply	other threads:[~2023-11-02 10:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202311021826.pC3SLHbU-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=gerg@kernel.org \
    --cc=linux-m68k@lists.linux-m68k.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=uclinux-dev@uclinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).